Skip to main content
Anchor to subscriptionDraftLineRemove

subscriptionDraftLineRemove

mutation

Requires write_own_subscription_contracts access scope. Also: The user must have manage_orders_information permission.

Removes a subscription line from a subscription draft.

•ID!
required

The gid of the Subscription Contract draft to remove a subscription line from.

•ID!
required

The gid of the Subscription Line to remove.


Was this section helpful?

Anchor to SubscriptionDraftLineRemovePayload returnsSubscriptionDraftLineRemovePayload returns

•[SubscriptionManualDiscount!]

The list of updated subscription discounts impacted by the removed line.

•SubscriptionDraft

The Subscription Contract draft object.

•SubscriptionLine

The removed Subscription Line.

•[SubscriptionDraftUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?