Delete discount
delete_discountRemove a discount by its exact ID when a promotion should no longer apply. Use for cleaning up outdated or incorrect discounts in Lemon Squeezy.
Instructions
Delete a discount with the given ID.
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 | Exact opaque native resource ID; no traversal or URL. | |
| account | No | Exact private profile label. Does not prove store ownership; mode applies to the main API key only. | |
| confirm | No | Set true only when the user asked for exactly this action. |