subscription Contract Update
Requires access scope. Also: The user must have manage_orders_information permission.
subscriptionContractUpdateCalculate instead.Creates a draft of an existing .
The draft captures the current state of the contract and allows incremental
modifications through draft mutations such as , , and .
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
to apply the updates to the original contract.
This mutation and the draft-based edit flow are deprecated in favor of the SubscriptionContractCalculation API.
Learn more about updating subscription contracts.
Arguments
- contractId (ID!)
- Anchor to contractIdcontract•ID!
Id required The gid of the Subscription Contract to update.
- draft (SubscriptionDraft)
- userErrors ([SubscriptionDraftUserError!]!)
- Anchor to draftdraft•Subscription
Draft The Subscription Contract object.
- Anchor to userErrorsuser•[Subscription
Errors Draft User Error!]! non-null The list of errors that occurred from executing the mutation.