Anchor to SubscriptionAppliedCodeDiscountSubscription
objectSubscription Applied Code Discount
Requires the or
scope.
Represents an applied code discount.
Anchor to FieldsFields
- •ID!non-null
The unique ID.
- Anchor to redeemCoderedeem•String!non-null
Code The redeem code of the discount that applies on the subscription.
- Anchor to rejectionReasonrejection•Subscription
Reason Discount Rejection Reason The reason that the discount on the subscription draft is rejected.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
Applies a code discount on the subscription draft.
- Anchor to draftIddraft•ID!required
Id The gid of the subscription contract draft to apply a subscription code discount on.
- Anchor to redeemCoderedeem•String!required
Code Code discount redeem code.
Arguments
- Anchor to appliedDiscountapplied•Subscription
Discount Applied Code Discount The added subscription discount.
- Anchor to draftdraft•Subscription
Draft The subscription contract draft object.
- Anchor to userErrorsuser•[Subscription
Errors Draft User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?