Skip to main content
Anchor to SubscriptionContractCalculationSuccess

SubscriptionContractCalculationSuccess

object

Requires the read_own_subscription_contracts or write_own_subscription_contracts scope.

A subscription contract calculation that has completed successfully.

•SubscriptionCalculatedContract!
non-null

The calculated subscription contract. This contract is uncommitted and can be previewed before committing.

•[SubscriptionContractCalculationDeliveryOption!]!
non-null

The available delivery options computed during the calculation.

•ID!
non-null

The ID of the contract calculation.

Anchor to projectedOrderTotalsprojectedOrderTotals
•SubscriptionContractCalculationProjectedOrderTotals

Projected order totals (subtotal, delivery, estimated tax, discounts, and grand total) for the calculated contract. Null when the calculation only discovered delivery options for an address rather than calculating committed totals.

•[SubscriptionContractCalculationDiagnostic!]!
non-null

Non-fatal warnings produced during the calculation. The calculation still succeeded; warnings inform the merchant about issues that should be reviewed before committing the contract.


Was this section helpful?