stack

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

AdminTypes.DiscountRedeemCode interface

A code that a customer can use at checkout to receive a discount. For example, a customer can use the redeem code ‘SUMMER20’ at checkout to receive a 20% discount on their entire order.

Signature:

export interface DiscountRedeemCode 

Properties

Property Modifiers Type Description
asyncUsageCount   Scalars[‘Int’][‘output’] The number of times that the discount redeem code has been used. This value is updated asynchronously and can be different than the actual usage count.
code   Scalars[‘String’][‘output’] The code that a customer can use at checkout to receive a discount.
createdBy?   Maybe<App> (Optional) The application that created the discount redeem code.
id   Scalars[‘ID’][‘output’] A globally-unique ID of the discount redeem code.