subscriptionDraftLineRemove - admin-graphql - MUTATION
Version: 2024-04
Description:
Removes a subscription line from a subscription draft.
Access Scopes
`write_own_subscription_contracts` access scope. Also: The user must have manage_orders_information permission.
Arguments
-
draftId:
ID! -
The gid of the Subscription Contract draft to remove a subscription line from.
-
lineId:
ID! -
The gid of the Subscription Line to remove.
Returns
-
discountsUpdated:
SubscriptionManualDiscount
The list of updated subscription discounts impacted by the removed line.
-
draft:
SubscriptionDraft
The Subscription Contract draft object.
-
lineRemoved:
SubscriptionLine
The removed Subscription Line.
-
userErrors:
SubscriptionDraftUserError!
The list of errors that occurred from executing the mutation.
Examples