deactivate_coupon
Deactivate a coupon to prevent further redemptions. This tool invalidates coupon codes by ID, ensuring they can no longer be used for discounts.
Instructions
Deactivate a coupon so it can no longer be redeemed.
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": {
"coupon_id": "<coupon_id>"
},
"name": "deactivate_coupon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coupon_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||