Skip to main content
Anchor to subscriptionDraftDiscountRemove

subscriptionDraftDiscountRemove

mutation

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

Removes a subscription discount from a subscription draft.

•ID!
required

The gid of the subscription draft discount to remove.

•ID!
required

The gid of the subscription contract draft to remove a subscription discount from.


Was this section helpful?

Anchor to SubscriptionDraftDiscountRemovePayload returnsSubscriptionDraftDiscountRemovePayload returns

•SubscriptionDiscount

The removed subscription draft discount.

•SubscriptionDraft

The subscription contract draft object.

•[SubscriptionDraftUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?