subscriptionDraftDiscountUpdate - admin-graphql - MUTATION
Version: 2024-10
Description:
Updates a subscription 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:
SubscriptionManualDiscountInput! -
The properties to update on the Subscription 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