DiscountRedeemCode object

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

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

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

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

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)

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