PriceRuleDiscountCode object

Version unstable

A discount code of a price rule.

Required access

read_price_rules access scope.

Fields

  • app (App)

    The application that created the discount code.

  • code (String!)

    The code to use the discount.

  • id (ID!)

    Globally unique identifier.

  • 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.

Types that return PriceRuleDiscountCode

Mutations for PriceRuleDiscountCode

Implements

Version unstable

An auto-generated type for paginating through multiple PriceRuleDiscountCodes.

Fields

Types that return PriceRuleDiscountCode

Mutations for PriceRuleDiscountCode

Version unstable

An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.