Anchor to SubscriptionContractCreateCalculatePayloadSubscription
payloadSubscription Contract Create Calculate Payload
Return type for mutation.
Anchor to FieldsFields
- 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?
Anchor to Mutations with this payloadMutations with this payload
- subscriptionContractCreateCalculate (SubscriptionContractCreateCalculatePayload)
- •mutation
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 themutation.Learn how to build a subscription contract.
- Anchor to contractCreateInputcontract•Subscription
Create Input Contract Calculation Contract Create Input! required The input for the new subscription contract calculation.
Arguments
Was this section helpful?