--- title: SubscriptionAppliedCodeDiscount - GraphQL Admin description: Represents an applied code discount. api_version: 2025-10 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/objects/subscriptionappliedcodediscount md: https://shopify.dev/docs/api/admin-graphql/latest/objects/subscriptionappliedcodediscount.md --- # Subscription​Applied​Code​Discount object Requires the `read_own_subscription_contracts` or `write_own_subscription_contracts` scope. Represents an applied code discount. ## Fields * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) non-null The unique ID. * redeem​Code [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The redeem code of the discount that applies on the subscription. * rejection​Reason [Subscription​Discount​Rejection​Reason](https://shopify.dev/docs/api/admin-graphql/latest/enums/SubscriptionDiscountRejectionReason) The reason that the discount on the subscription draft is rejected. *** ## Map ### Possible type in * [Subscription​Discount](https://shopify.dev/docs/api/admin-graphql/latest/unions/SubscriptionDiscount) *** ## Mutations * [subscription​Draft​Discount​Code​Apply](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionDraftDiscountCodeApply) mutation Applies a code discount on the subscription draft. *** ## <\~> SubscriptionAppliedCodeDiscount Mutations ### Mutated by * <\~>[subscription​Draft​Discount​Code​Apply](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionDraftDiscountCodeApply)