Skip to main content
Anchor to SubscriptionContractCreateCalculatePayload

SubscriptionContractCreateCalculatePayload

payload

Return type for subscriptionContractCreateCalculate mutation.

Anchor to subscriptionContractCalculationsubscriptionContractCalculation
•SubscriptionContractCalculation

The result of the subscription contract calculation operation.

•[SubscriptionContractCreateCalculateUserError!]!
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

•mutation

Starts an asynchronous calculation for a new subscription contract. The contract isn't created until you commit the calculation.

Poll the subscriptionContractCalculation query to review the calculated contract, its projected order totals, and any warnings, then commit it with the subscriptionContractCalculationCommit mutation.

Learn how to build a subscription contract.

Arguments

•SubscriptionContractCalculationContractCreateInput!
required

The input for the new subscription contract calculation.



Was this section helpful?