Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to subscriptionDraftDiscountCodeApply

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.

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?

Anchor to SubscriptionDraftDiscountCodeApplyPayload returnsSubscriptionDraftDiscountCodeApplyPayload returns

The added subscription discount.

The subscription contract draft object.

The list of errors that occurred from executing the mutation.


Was this section helpful?