delete_discount
Delete a discount code from your Shopify store by providing its discount ID. Removes the discount permanently to clean up promotions.
Instructions
Delete a discount code
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_discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Discount ID (e.g., 'gid://shopify/DiscountCodeNode/123456789') |