Skip to main content
Required scopes: campaigns_read, campaigns_write
String!
required
The code customers enter at checkout.
When the discount was created.
String!
required
A short human-readable summary of what the code does.
When this code stops working.
String!
required
The platform’s id for this discount (a Shopify GID or a BigCommerce promotion id).
Whether this is one fixed code or a unique code per customer.
ID!
required
The id of this discount code.
How the discount reduces the order. Null when the config has no settings type.
String!
required
The discount’s legacy Mongo ObjectId (24-char hex) from before the CockroachDB migration.
The commerce platform that hosts this code.
How the discount reduces the order.
String!
required
The merchant-facing name of the discount.
When the discount was last edited.