Anchor to subscriptionDraftDiscountUpdatesubscription
mutationsubscription Draft Discount Update
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!required
Id The gid of the Subscription Discount to update.
- Anchor to draftIddraft•ID!required
Id 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•Subscription
Updated Manual Discount The updated Subscription Discount.
- Anchor to draftdraft•Subscription
Draft The Subscription Contract draft object.
- Anchor to userErrorsuser•[Subscription
Errors Draft User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?