PriceRuleDiscountCode

Required access

read_price_rules access scope

A discount code of a price rule.

Show definition
# A discount code of a price rule.
type PriceRuleDiscountCode implements Node {
  # Globally unique identifier.
  id: ID!

  # The application that created the discount code.
  app: App

  # The code of a discount.
  code: String!

  # The usage count of the discount code.
  usageCount: Int!
}

Implements

Fields

app   (App)

The application that created the discount code.

code   (String!)

The code of a discount.

id   (ID!)

Globally unique identifier.

usageCount   (Int!)

The usage count of the discount code.