API version: unstable
API version: 2021-04 Release candidate
API version: 2021-01 Latest
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

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

Version unstable

An auto-generated type for paginating through multiple DiscountRedeemCodes.

Fields

Types that return DiscountRedeemCode

Version unstable

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

Fields

Types that return DiscountRedeemCode

Version 2021-04 (Release candidate)

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

Version 2021-04 (Release candidate)

An auto-generated type for paginating through multiple DiscountRedeemCodes.

On this page

Fields

Version 2021-04 (Release candidate)

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

Fields

Types that return DiscountRedeemCodeEdge

Version 2021-01 (Latest)

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

Version 2021-01 (Latest)

An auto-generated type for paginating through multiple DiscountRedeemCodes.

On this page

Fields

Version 2021-01 (Latest)

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

Fields

Types that return DiscountRedeemCodeEdge

Version 2020-10

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

Version 2020-10

An auto-generated type for paginating through multiple DiscountRedeemCodes.

On this page

Fields

Version 2020-10

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

Fields

Types that return DiscountRedeemCodeEdge

Version 2020-07

A redeem code for a code discount.

Required access

Apps must have read_discounts access scope.

Fields

  • code (String!)

    The code of a discount.

Types that return DiscountRedeemCode

Version 2020-07

An auto-generated type for paginating through multiple DiscountRedeemCodes.

On this page

Fields

Version 2020-07

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

Fields

Types that return DiscountRedeemCodeEdge

Version 2020-04

A redeem code for a code discount.

Required access

Apps must have read_discounts access scope.

Fields

  • code (String!)

    The code of a discount.

Types that return DiscountRedeemCode

Version 2020-04

An auto-generated type for paginating through multiple DiscountRedeemCodes.

On this page

Fields

Version 2020-04

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

Fields

Types that return DiscountRedeemCodeEdge

Version 2020-01 (Unsupported)

A redeem code for a code discount.

Required access

Apps must have read_discounts access scope.

Fields

  • code (String!)

    The code of a discount.

Types that return DiscountRedeemCode

Version 2020-01 (Unsupported)

An auto-generated type for paginating through multiple DiscountRedeemCodes.

On this page

Fields

Version 2020-01 (Unsupported)

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

Fields

Types that return DiscountRedeemCodeEdge

Version 2019-10 (Unsupported)

A redeem code for a code discount.

Required access

Apps must have read_discounts access scope.

Fields

  • code (String!)

    The code of a discount.

Types that return DiscountRedeemCode

Version 2019-10 (Unsupported)

An auto-generated type for paginating through multiple DiscountRedeemCodes.

On this page

Fields

Version 2019-10 (Unsupported)

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

Fields

Types that return DiscountRedeemCodeEdge

Version 2019-07 (Unsupported)

A redeem code for a code discount.

Required access

Apps must have read_discounts access scope.

Fields

  • code (String!)

    The code of a discount.

Types that return DiscountRedeemCode

Version 2019-07 (Unsupported)

An auto-generated type for paginating through multiple DiscountRedeemCodes.

On this page

Fields

Version 2019-07 (Unsupported)

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

Fields

Types that return DiscountRedeemCodeEdge

Version 2019-04 (Unsupported)

A redeem code for a code discount.

Required access

Apps must have read_discounts access scope.

Fields

  • code (String!)

    The code of a discount.

Types that return DiscountRedeemCode

Version 2019-04 (Unsupported)

An auto-generated type for paginating through multiple DiscountRedeemCodes.

On this page

Fields

Version 2019-04 (Unsupported)

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

Fields

Types that return DiscountRedeemCodeEdge