SubscriptionAppliedCodeDiscount object

Represents an applied code discount.

Required access

Requires either all_subscription_contracts or own_subscription_contracts scope.

On this page

Fields

  • id ([ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
    The unique identifier.
  • redeemCode ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
    The redeem code of the discount that applies on the subscription.
  • rejectionReason ([SubscriptionDiscountRejectionReason](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptiondiscountrejectionreason))
    The reason that the discount on the subscription draft is rejected.