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

SubscriptionAppliedCodeDiscount object

Version unstable

Represents an applied code discount.

Required access

Requires access to either all or app-owned subscription applied code discounts.

On this page

Fields

id (ID!)

The unique identifier.

redeemCode (String!)

The redeem code of the discount that applies on the subscription.

rejectionReason (SubscriptionDiscountRejectionReason)

The reason that the discount on the subscription draft is rejected.

Version 2021-01 (Release candidate)

Represents an applied code discount.

Required access

Requires access to either all or app-owned subscription applied code discounts.

On this page

Fields

id (ID!)

The unique identifier.

redeemCode (String!)

The redeem code of the discount that applies on the subscription.

rejectionReason (SubscriptionDiscountRejectionReason)

The reason that the discount on the subscription draft is rejected.