Anchor to section titled 'undefined'

subscriptionDraftDiscountCodeApply
mutation

Requires write_own_subscription_contracts access scope. Also: The user must have manage_orders_information permission.

Applies a code discount on the subscription draft.


Anchor to draftId
draftId
required

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

Anchor to redeemCode
redeemCode
required

Code discount redeem code.


Was this section helpful?

The subscription contract draft object.

The list of errors that occurred from executing the mutation.


Was this section helpful?