Whether each customer may use the code only once.
Which other discounts this code may stack with.
Stack with order discounts. Defaults to false.
Stack with product discounts. Defaults to false.
Stack with shipping discounts. Defaults to false.
What the customer must buy to unlock the Y items.
Required spend when triggerType is MINIMUM_AMOUNT.
Collections that count toward X.
The platform’s id for this product or collection.
An optional display name.
Products that count toward X.
The platform’s id for this product or collection.
An optional display name.
Required quantity when triggerType is MINIMUM_QUANTITY.
Whether the customer must buy a quantity or spend an amount.
Which customers may use the code.
What the customer gets, and at what discount.
Percent off (0–100) when valueType is PERCENTAGE; otherwise a currency amount.
Collections the customer gets.
The platform’s id for this product or collection.
An optional display name.
Products the customer gets.
The platform’s id for this product or collection.
An optional display name.
How many Y items the customer gets.
Whether amount is a percent or a currency amount off Y.
Platform customer ids when eligibility is SPECIFIC.
Platform segment ids when eligibility is SEGMENTS.
Maximum times this code may be used in total.
How many times the Y items may be claimed on one order.