Archive discount code
agenta_discounts_archiveStop a discount code from applying to new purchases while subscribers who already redeemed it keep their discount. Confirm with merchant before archiving.
Instructions
Stop a discount code working. Stops one discount code working for new purchases; subscribers who already used it keep their discount. Ask the merchant before calling this.
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": "agenta_discounts_archive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The discount code id | |
| business | No | Act for this business you manage (its id). Omit to act as yourself. |