You're viewing a demo portfolio

Join the waitlist
PRSM

update_service_package

Active

Tool of FavCRM

declared in 1.0.0

Update an existing service package. Pass only the fields you want to change.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "packageId"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Name"
    },
    "price": {
      "type": "number",
      "minimum": 0,
      "description": "Decimal string, e.g. \"80.00\""
    },
    "status": {
      "enum": [
        "ACTIVE",
        "INACTIVE"
      ],
      "type": "string",
      "description": "Status filter"
    },
    "packageId": {
      "type": "string",
      "description": "Service package ID to update"
    },
    "validDays": {
      "type": "integer",
      "maximum": 3650,
      "minimum": 1,
      "description": "Validity period in days"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Description"
    },
    "sessionCount": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Number of sessions in the package"
    },
    "applicableType": {
      "enum": [
        "ALL",
        "ALL_BOOKINGS",
        "ALL_EVENTS",
        "SELECTED"
      ],
      "type": "string",
      "description": "What this package applies to: services | products | both"
    },
    "applicableItems": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "itemType",
          "itemId"
        ],
        "properties": {
          "itemId": {
            "type": "string"
          },
          "itemType": {
            "enum": [
              "booking_service",
              "event"
            ],
            "type": "string"
          }
        }
      },
      "description": "Item IDs the package can be redeemed against"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

FavCRM

https://github.com/favcrm/mcp

1/7 registries
View full server →