update_promotion
ActiveTool 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"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
FavCRM
https://github.com/favcrm/mcp
1/7 registries