Create Coupon
Creates a coupon in Checkout Page.
Query
Comma-separated response fields to include.
Body
Internal name for the coupon.
The coupon code a customer enters.
A positive integer representing the amount to subtract from an invoice total (required if `percentOff` is not passed).
Three-letter ISO code for the currency of the amountOff parameter (required if `amountOff` is passed).
A positive integer representing the number of months the coupon applies for (required if `duration === repeating`)
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).
When enabled, applies this coupon discount to the setup fee.
A list of pageIds that this coupon can be used within.
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.
The total amount of times this coupon can be used. Doesn't limit a single customer from redeeming multiple times.
The ISO datetime that this coupon must be used before.