Skip to main content
Anchor to SubscriptionDraftDiscountCodeApplyPayload

SubscriptionDraftDiscountCodeApplyPayload

payload

Return type for subscriptionDraftDiscountCodeApply mutation.

•SubscriptionAppliedCodeDiscount

The added subscription discount.

•SubscriptionDraft

The subscription contract draft object.

•[SubscriptionDraftUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Applies a code discount on the subscription draft.

Arguments

•ID!
required

The gid of the subscription contract draft to apply a subscription code discount on.

•String!
required

Code discount redeem code.



Was this section helpful?