Skip to main content
Log inSign up
Anchor to PriceRuleDiscountCode

PriceRuleDiscountCode

object

Requires read_price_rules access scope.

A discount code of a price rule.

•

The application that created the discount code.

•
String!non-null

The code to apply the discount.

•
ID!non-null

A globally-unique ID.

•
Int!non-null

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.


Was this section helpful?

Show
deprecated mutations Deprecated
•
mutationDeprecated

Create a price rule using the input. Use discountCodeBasicCreate instead.

•
mutationDeprecated

Create a discount code for a price rule. Use discountRedeemCodeBulkAdd instead.

•
mutationDeprecated

Update a discount code for a price rule. Use discountCodeBasicUpdate instead.

•
mutationDeprecated

Updates a price rule using its ID and an input. Use discountCodeBasicUpdate instead.


Was this section helpful?

•
interface

Was this section helpful?