cigchat_shop_discount_codes_delete_by_code
Delete a discount code by its code. This irreversible action requires confirmation; call without it first to get an impact statement before approving.
Instructions
Delete discount code by code [DELETE /shop/discount-codes/delete-by-code] DESTRUCTIVE: irreversible. Call once without confirm to get an impact statement first. Requires the "Manage Team" scope on the token.
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": {
"code": "<code>"
},
"name": "cigchat_shop_discount_codes_delete_by_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Discount Code | |
| confirm | No | Confirmation token from this tool's previous "requires_confirmation" response. Call without it first, show the human the impact statement, and only pass the token once they have approved. |