subscriptionDraftDiscountRemove - admin-graphql - MUTATION
Version: 2024-01
Description:
Removes a subscription discount from 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 draft discount to remove.
-
draftId:
ID! -
The gid of the subscription contract draft to remove a subscription discount from.
Returns
-
discountRemoved:
SubscriptionDiscount
The removed subscription draft discount.
-
draft:
SubscriptionDraft
The subscription contract draft object.
-
userErrors:
SubscriptionDraftUserError!
The list of errors that occurred from executing the mutation.
Examples