DiscountRedeemCode object

Version unstable

A redeem code for a code discount.

Required access

Apps must have read_discounts access scope.

Fields

  • asyncUsageCount (Int!)

    The number of times the discount has been used. This value is updated asynchronously and can be different than the actual usage count.

  • code (String!)

    The code of a discount.

  • createdBy (App)

    The application that created the discount code.

  • id (ID!)

    Globally unique identifier of the discount redeem code.

Types that return DiscountRedeemCode

Mutations for DiscountRedeemCode

  • Asynchronously add discount redeem codes in bulk. Specify the codes to add and the discount code ID that the codes will belong to.

Version unstable

An auto-generated type for paginating through multiple DiscountRedeemCodes.

Fields

Types that return DiscountRedeemCode

Mutations for DiscountRedeemCode

  • Asynchronously add discount redeem codes in bulk. Specify the codes to add and the discount code ID that the codes will belong to.

Version unstable

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

On this page