Turn a store coupon on or off
set_coupon_activeStore administration: works on the business's own link-in-bio store in Ignix, which the user manages as its owner. Nothing is bought or sold in this chat; the store's customers buy on the store page, paid to the business's own Stripe account. Deactivate a coupon or reactivate it. A deactivated coupon stops working at checkout and is removed from the business's Stripe.
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": {
"coupon": "<coupon>",
"active": "<active>"
},
"name": "set_coupon_active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | Yes | ||
| coupon | Yes | Coupon id or code (from list_coupons). | |
| workspaceId | No | Defaults to the workspace this connection is scoped to. | |
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |