Anchor to SubscriptionContractCalculationSuccessSubscription
objectSubscription Contract Calculation Success
Requires the or scope.
A subscription contract calculation that has completed successfully.
Anchor to FieldsFields
- calculatedContract (SubscriptionCalculatedContract!)
- deliveryOptions ([SubscriptionContractCalculationDeliveryOption!]!)
- id (ID!)
- projectedOrderTotals (SubscriptionContractCalculationProjectedOrderTotals)
- warnings ([SubscriptionContractCalculationDiagnostic!]!)
- Anchor to calculatedContractcalculated•Subscription
Contract Calculated Contract! non-null The calculated subscription contract. This contract is uncommitted and can be previewed before committing.
- Anchor to deliveryOptionsdelivery•[Subscription
Options Contract Calculation Delivery Option!]! non-null The available delivery options computed during the calculation.
- •ID!non-null
The ID of the contract calculation.
- Anchor to projectedOrderTotalsprojected•Subscription
Order Totals Contract Calculation Projected Order Totals 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.
- Anchor to warningswarnings•[Subscription
Contract Calculation Diagnostic!]! 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?