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!]
Platform collection ids this code applies to.
Which other discounts this code may stack with.
Which customers may use the code.
[String!]
Platform customer ids when eligibility is SPECIFIC.
Boolean
Whether items already on sale are excluded.
A minimum purchase required to use the code.
[String!]
Platform product ids this code applies to.
Whether the code applies to one-time, subscription, or both.
Float
How many subscription cycles the code applies to.
[String!]
Platform segment ids when eligibility is SEGMENTS.
Float
Maximum times this code may be used in total.
required
Whether
amount is a percent or a currency amount.