delete-discount
Deletes a Shopify discount code by ID and permanently removes it from the store. Use it to clear obsolete or incorrect discounts when the deletion is final and cannot be undone.
Instructions
Delete a discount code. 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": {
"discountId": "<discountId>"
},
"name": "delete-discount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| discountId | Yes | Discount ID to delete |