API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 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

Fields

edges ([DiscountRedeemCodeEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Types that return DiscountRedeemCode

Version unstable

Fields

cursor (String!)

A cursor for use in pagination.

node (DiscountRedeemCode!)

The item at the end of DiscountRedeemCodeEdge.

Types that return DiscountRedeemCode

Version 2021-01 (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-01 (Release candidate)

On this page

Fields

edges ([DiscountRedeemCodeEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Version 2021-01 (Release candidate)

Fields

cursor (String!)

A cursor for use in pagination.

node (DiscountRedeemCode!)

The item at the end of DiscountRedeemCodeEdge.

Types that return DiscountRedeemCodeEdge

Version 2020-10 (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 2020-10 (Latest)

On this page

Fields

edges ([DiscountRedeemCodeEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Version 2020-10 (Latest)

Fields

cursor (String!)

A cursor for use in pagination.

node (DiscountRedeemCode!)

The item at the end of DiscountRedeemCodeEdge.

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

On this page

Fields

edges ([DiscountRedeemCodeEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Version 2020-07

Fields

cursor (String!)

A cursor for use in pagination.

node (DiscountRedeemCode!)

The item at the end of DiscountRedeemCodeEdge.

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

On this page

Fields

edges ([DiscountRedeemCodeEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Version 2020-04

Fields

cursor (String!)

A cursor for use in pagination.

node (DiscountRedeemCode!)

The item at the end of DiscountRedeemCodeEdge.

Types that return DiscountRedeemCodeEdge

Version 2020-01

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

On this page

Fields

edges ([DiscountRedeemCodeEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Version 2020-01

Fields

cursor (String!)

A cursor for use in pagination.

node (DiscountRedeemCode!)

The item at the end of DiscountRedeemCodeEdge.

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)

On this page

Fields

edges ([DiscountRedeemCodeEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Version 2019-10 (Unsupported)

Fields

cursor (String!)

A cursor for use in pagination.

node (DiscountRedeemCode!)

The item at the end of DiscountRedeemCodeEdge.

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)

On this page

Fields

edges ([DiscountRedeemCodeEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Version 2019-07 (Unsupported)

Fields

cursor (String!)

A cursor for use in pagination.

node (DiscountRedeemCode!)

The item at the end of DiscountRedeemCodeEdge.

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)

On this page

Fields

edges ([DiscountRedeemCodeEdge!]!)

A list of edges.

pageInfo (PageInfo!)

Information to aid in pagination.

Version 2019-04 (Unsupported)

Fields

cursor (String!)

A cursor for use in pagination.

node (DiscountRedeemCode!)

The item at the end of DiscountRedeemCodeEdge.

Types that return DiscountRedeemCodeEdge