Skip to main content
Float!
required
Percent off (0–100) when valueType is PERCENTAGE; otherwise a currency amount.
Boolean
Whether each customer may use the code only once.
[String!]!
required
Platform collection ids this code applies to. Empty means not restricted by collection.
Which other discounts this code may stack with.
Which customers may use the code.
[String!]!
required
Platform customer ids when eligibility is SPECIFIC.
When the code stops being valid.
Boolean
Whether items already on sale are excluded.
A minimum purchase required to use the code.
[String!]!
required
Platform product ids this code applies to. Empty means not restricted by product.
Whether the code applies to one-time, subscription, or both.
Float
How many subscription cycles the code applies to.
[String!]!
required
Platform segment ids when eligibility is SEGMENTS.
When the code becomes valid.
Float
Maximum times this code may be used in total.
Whether amount is a percent or a currency amount.