Delete promotion
delete_promotionPermanently removes a promotion code, making it invalid. Deletes its associated campaign; confirm with the user before use.
Instructions
DELETES a promotion – the code stops working. To pause it, prefer update_promotion with status 'inactive'. Confirm with the user first. A campaign created for its dates (named after the code) is deleted too.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "delete_promotion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| promotion_id | No |