Anchor to subscriptionDraftDiscountUpdatesubscription
subscription Draft Discount Update
mutation
Requires access scope. Also: The user must have manage_orders_information permission.
Updates a subscription discount on a subscription draft.
Anchor to Arguments
Arguments
- Anchor to discountIddiscount•
Id ID!required The gid of the Subscription Discount to update.
- Anchor to draftIddraft•
Id ID!required The ID of the Subscription Contract draft to update a subscription discount on.
- Anchor to inputinput•Subscription
Manual Discount Input!required The properties to update on the Subscription Discount.
Was this section helpful?
Anchor to SubscriptionDraftDiscountUpdatePayload returnsSubscription Draft Discount Update Payload returns
- Anchor to discountUpdateddiscount•
Updated The updated Subscription Discount.
- Anchor to draftdraft•
The Subscription Contract draft object.
- Anchor to userErrorsuser•
Errors [SubscriptionDraft User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?