Create a store coupon
create_couponStore 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. Create a discount code for the store: either a percentage (percentOff) or a fixed amount (amountOff plus currency). Optional usage limit, expiry date and products it is limited to. It is also created in the business's Stripe when Stripe is connected. Buyers type the code at checkout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 3-30 characters: letters, digits, "-" or "_". Stored in capitals. | |
| maxUses | No | Total uses allowed. Omit for unlimited. | |
| currency | No | ISO code of amountOff (e.g. "eur"). Required with amountOff. | |
| products | No | Product ids, slugs or titles it applies to. Omit for every product. | |
| amountOff | No | Fixed discount in the currency, e.g. "5" or "4.99". Use this OR percentOff. | |
| expiresOn | No | Last valid day, YYYY-MM-DD (ends at the end of that day, UTC). | |
| percentOff | No | 1-100. Use this OR amountOff. | |
| 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. |