subscriptionDraftLineAdd - admin-graphql - MUTATION
Version: 2024-10
Description:
Adds a subscription line 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 gid of the Subscription Contract draft to add a subscription line to.
-
input:
SubscriptionLineInput! -
The properties of the new Subscription Line.
Returns
-
draft:
SubscriptionDraft
The Subscription Contract draft object.
-
lineAdded:
SubscriptionLine
The added Subscription Line.
-
userErrors:
SubscriptionDraftUserError!
The list of errors that occurred from executing the mutation.
Examples