subscriptionDraftDiscountAdd - admin-graphql - MUTATION
Version: 2024-10
Description:
Adds a subscription 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 discount to.
-
input:
SubscriptionManualDiscountInput! -
The properties of the new Subscription Discount.
Returns
-
discountAdded:
SubscriptionManualDiscount
The added Subscription Discount.
-
draft:
SubscriptionDraft
The Subscription Contract draft object.
-
userErrors:
SubscriptionDraftUserError!
The list of errors that occurred from executing the mutation.
Examples