Anchor to SubscriptionContractCreatePayloadSubscription
payloadSubscription Contract Create 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
- subscriptionContractCreate (SubscriptionContractCreatePayload)
- •mutation
Creates a subscription contract draft, which is an intention to create a new subscription. The draft lets you incrementally build and modify subscription details before committing them to create the actual
.The mutation requires
Customerinformation, billing details, and contract configuration including theand. You can specify the, thefor shipping, and subscription intervals.After you create the draft, you can either modify it with the
mutation or finalize and create the active subscription contract with.Learn more about building subscription contracts.
- Anchor to inputinput•Subscription
Contract Create Input! required The properties of the new Subscription Contract.
Arguments
Was this section helpful?