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.

Deprecated.

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.

Show input fields

Was this section helpful?

Anchor to SubscriptionDraftDiscountUpdatePayload returnsSubscriptionDraftDiscountUpdatePayload returns

•SubscriptionManualDiscount

The updated Subscription Discount.

Show fields
•SubscriptionDraft

The Subscription Contract draft object.

Show fields
•[SubscriptionDraftUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?