Anchor to subscriptionContractCreateCalculatesubscription
mutationsubscription Contract Create Calculate
Requires access scope. Also: The user must have manage_orders_information permission.
Starts an asynchronous calculation for a new subscription contract. The contract isn't created until you commit the calculation.
Poll the query to review the calculated contract, its projected order totals, and any
warnings, then commit it with the mutation.
Learn how to build a subscription contract.
Anchor to Arguments
Arguments
- contractCreateInput (SubscriptionContractCalculationContractCreateInput!)
- Anchor to contractCreateInputcontract•Subscription
Create Input Contract Calculation Contract Create Input! required The input for the new subscription contract calculation.
Was this section helpful?
Anchor to SubscriptionContractCreateCalculatePayload returnsSubscription Contract Create Calculate Payload returns
- subscriptionContractCalculation (SubscriptionContractCalculation)
- userErrors ([SubscriptionContractCreateCalculateUserError!]!)
- Anchor to subscriptionContractCalculationsubscription•Subscription
Contract Calculation Contract Calculation The result of the subscription contract calculation operation.
- Anchor to userErrorsuser•[Subscription
Errors Contract Create Calculate User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?