Anchor to subscriptionContractUpdatesubscription
mutationsubscription Contract Update
Requires access scope. Also: The user must have manage_orders_information permission.
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.
Learn more about updating subscription contracts.
Anchor to Arguments
Arguments
- Anchor to contractIdcontract•ID!
Id required The gid of the Subscription Contract to update.
Was this section helpful?
- 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.
Was this section helpful?