delete_code_discount
Permanently delete a Shopify code discount by its GID. This action is irreversible and cannot be undone.
Instructions
Permanently delete a code discount by its GID. This cannot be undone.
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": {
"id": "<id>"
},
"name": "delete_code_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | GID of the discount node to delete (e.g. 'gid://shopify/DiscountCodeNode/123'). |