Boolean
Whether each customer may use the code only once.
String
Prefix applied to minted unique codes.
[String!]!
required
Platform collection ids this code applies to. Empty means not restricted by collection.
required
Which other discounts this code may stack with.
Which customers may use the code.
[String!]!
required
Platform customer ids when eligibility is SPECIFIC.
Boolean
Whether items already on sale are excluded.
Float!
required
The highest percent off a minted code may use.
Float!
required
The lowest percent off a minted code may use.
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.
required
How long a minted unique code stays valid after it is generated.
[String!]!
required
Platform segment ids when eligibility is SEGMENTS.
Float
Maximum times this code may be used in total.