Skip to main content
Anchor to subscriptionDraftDiscountUpdate

subscriptionDraftDiscountUpdate

mutation

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

Updates a subscription discount on a subscription draft.

ID!required

The gid of the Subscription Discount to update.

ID!required

The ID of the Subscription Contract draft to update a subscription discount on.

SubscriptionManualDiscountInput!required

The properties to update on the Subscription Discount.


Was this section helpful?

Anchor to SubscriptionDraftDiscountUpdatePayload returnsSubscriptionDraftDiscountUpdatePayload returns

SubscriptionManualDiscount

The updated Subscription Discount.

SubscriptionDraft

The Subscription Contract draft object.

[SubscriptionDraftUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?