subscriptionDraftFreeShippingDiscountUpdate - admin-graphql - MUTATION
Version: 2024-10
Description:
Updates a subscription free shipping discount on a subscription draft.
Access Scopes
`write_own_subscription_contracts` access scope. Also: The user must have manage_orders_information permission.
Arguments
-
discountId:
ID! -
The gid of the Subscription Discount to update.
-
draftId:
ID! -
The ID of the Subscription Contract draft to update a subscription discount on.
-
input:
SubscriptionFreeShippingDiscountInput! -
The properties to update on the Subscription Free Shipping Discount.
Returns
-
discountUpdated:
SubscriptionManualDiscount
The updated Subscription Discount.
-
draft:
SubscriptionDraft
The Subscription Contract draft object.
-
userErrors:
SubscriptionDraftUserError!
The list of errors that occurred from executing the mutation.
Examples