Skip to main content
Anchor to subscriptionContractUpdate

subscriptionContractUpdate

mutation

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

Creates a draft of an existing SubscriptionContract. The draft captures the current state of the contract and allows incremental modifications through draft mutations such as subscriptionDraftLineAdd, subscriptionDraftDiscountAdd, and subscriptionDraftUpdate.

Changes remain in draft state and don't affect the live contract until committed. After you've made all necessary changes to the draft, commit it using subscriptionDraftCommit to apply the updates to the original contract.

Learn more about updating subscription contracts.

•ID!
required

The gid of the Subscription Contract to update.


Was this section helpful?

Anchor to SubscriptionContractUpdatePayload returnsSubscriptionContractUpdatePayload returns

•SubscriptionDraft

The Subscription Contract object.

•[SubscriptionDraftUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?