Update promotion
update_promotionModify one or more fields of an existing promotion—like its name, end date, usage limit, or active status—to keep promotional data accurate and up to date.
Instructions
Update fields of an existing promotion.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"promotion_id": "<promotion_id>",
"fields": "<fields>"
},
"name": "update_promotion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Fields to update (name, to_date, max_uses, active, …) | |
| promotion_id | Yes | Promotion UUID |