cigchat_shop_discount_codes_delete
Delete a discount code from your shop. Review the impact statement, then confirm the deletion.
Instructions
Delete discount code [DELETE /shop/discount-codes/{codeId}/delete] 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": {
"codeId": "<codeId>"
},
"name": "cigchat_shop_discount_codes_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codeId | Yes | Discount Code Id | |
| 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. |