subscriptionDraftDiscountUpdate mutation

Version unstable

Updates a subscription discount on a subscription draft.

Required access

write_own_subscription_contracts access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Argument Description
discountId ( ID! ) required

The gid of the Subscription Discount to update.

draftId ( ID! ) required

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

input ( SubscriptionManualDiscountInput! ) required

The properties to update on the Subscription Discount.

SubscriptionManualDiscountInput fields

Return fields