PriceRuleDiscountCode - admin-graphql - OBJECT
Version: 2025-01
Description:
A discount code of a price rule.
Access Scopes
`read_price_rules` access scope.
Fields
app
: App - The application that created the discount code.
code
: String! - The code to apply the discount.
id
: ID! - A globally-unique ID.
usageCount
: Int! - The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.
Connections
Related queries
Related mutations
Related Unions
Examples