Anchor to SubscriptionContractUpdatePayloadSubscription
payloadSubscription Contract Update Payload
Return type for mutation.
Anchor to FieldsFields
- 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.
Was this section helpful?
Anchor to Mutations with this payloadMutations with this payload
- subscriptionContractUpdate (SubscriptionContractUpdatePayload)
- •mutation
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 contractIdcontract•ID!
Id required The gid of the Subscription Contract to update.
Arguments
Was this section helpful?