Docs

Create Coupon

Creates a coupon in Checkout Page.

POST

Query

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Body

Arguments
stringrequired

Internal name for the coupon.

stringrequired

The coupon code a customer enters.

number

A positive integer representing the amount to subtract from an invoice total (required if `percentOff` is not passed).

string

Three-letter ISO code for the currency of the amountOff parameter (required if `amountOff` is passed).

stringrequired
number

A positive integer representing the number of months the coupon applies for (required if `duration === repeating`)

number

A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amountOff` is not passed).

boolean

When enabled, applies this coupon discount to the setup fee.

array of string

A list of pageIds that this coupon can be used within.

array of string

List of ticket type IDs that this coupon can be used with. Ticket ticket ids must belong to a page specified in the `pageIds` array.

number

The total amount of times this coupon can be used. Doesn't limit a single customer from redeeming multiple times.

date

The ISO datetime that this coupon must be used before.

Every app you connect,one REST pattern

Call any app with one REST pattern. MindCloud handles each provider's auth, request shape, and responses for you.

Learn what the Universal API is
One REST patternUse the same request structure across apps like Slack, HubSpot, Salesforce, and thousands more.
Managed connectionsSend a MindCloud connection ID instead of handling provider tokens, refresh logic, and credential storage yourself.
Action-level docsEach action page shows the exact endpoint, required arguments, optional controls, and response behavior for that app version.