You're viewing a demo portfolio

Join the waitlist
PRSM

update_promotion

Active

Tool of FavCRM

declared in 1.0.0

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

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "promotionId"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "Promotion code"
    },
    "name": {
      "type": "string",
      "description": "Name"
    },
    "type": {
      "enum": [
        "percentage",
        "fixed_amount"
      ],
      "type": "string",
      "description": "Type"
    },
    "value": {
      "type": "string",
      "description": "Discount value (numeric or decimal string)"
    },
    "endsAt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "End timestamp (ISO 8601)"
    },
    "status": {
      "enum": [
        "active",
        "inactive",
        "expired"
      ],
      "type": "string",
      "description": "Status filter"
    },
    "startsAt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Start timestamp (ISO 8601)"
    },
    "promotionId": {
      "type": "string",
      "description": "Promotion ID"
    },
    "usageLimitTotal": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Total usage limit across all customers"
    },
    "usageLimitPerCustomer": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "description": "Usage limit per customer"
    }
  }
}

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 →