Anchor to subscriptionDraftFreeShippingDiscountUpdatesubscription
mutationsubscription Draft Free Shipping Discount Update
Requires access scope. Also: The user must have manage_orders_information permission.
Updates a subscription free shipping discount on a subscription draft.
Anchor to Arguments
Arguments
- Anchor to discountIddiscount•ID!required
Id The gid of the Subscription Discount to update.
- Anchor to draftIddraft•ID!required
Id The ID of the Subscription Contract draft to update a subscription discount on.
- Anchor to inputinput•Subscription
Free Shipping Discount Input!required The properties to update on the Subscription Free Shipping Discount.
Was this section helpful?
Anchor to SubscriptionDraftFreeShippingDiscountUpdatePayload returnsSubscription Draft Free Shipping Discount Update Payload returns
- Anchor to discountUpdateddiscount•Subscription
Updated Manual Discount The updated 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.
Was this section helpful?