stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > PriceRuleDiscountCode

AdminTypes.PriceRuleDiscountCode interface

A discount code of a price rule.

Signature:

export interface PriceRuleDiscountCode extends Node 

Extends: Node

Properties

Property Modifiers Type Description
app?   Maybe<App> (Optional) The application that created the discount code.
code   Scalars[‘String’][‘output’] The code to apply the discount.
id   Scalars[‘ID’][‘output’] A globally-unique ID.
usageCount   Scalars[‘Int’][‘output’] 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.