subscriptionDraftFreeShippingDiscountAdd - admin-graphql - MUTATION
Version: unstable
Description:
Adds a subscription free shipping discount to a subscription draft.
Access Scopes
`write_own_subscription_contracts` access scope. Also: The user must have manage_orders_information permission.
Arguments
-
draftId:
ID! -
The ID of the subscription contract draft to add a subscription free shipping discount to.
-
input:
SubscriptionFreeShippingDiscountInput! -
The properties of the new subscription free shipping discount.
Returns
-
discountAdded:
SubscriptionManualDiscount
The added subscription free shipping discount.
-
draft:
SubscriptionDraft
The subscription contract draft object.
-
userErrors:
SubscriptionDraftUserError!
The list of errors that occurred from executing the mutation.
Examples