CheckoutTotals Object
Description
Total amounts for a checkout including items, shipping, taxes, and discounts.
Declaration
type CheckoutTotals {
grand: Float!
leftToPay: Float!
discount: Float
itemsQuantity: Float
itemQuantity: Int
subtotal: Float!
subtotalBeforeTaxes: Float!
shipping: Float!
taxes: [CheckoutTotalsTax!]!
tax: Float
}
Fields
| Name | Type | Description |
|---|---|---|
grand | Float! | Grand total amount to pay. |
leftToPay | Float! | Amount remaining to be paid. |
discount | Float | Discount amount applied. |
itemsQuantity ⚠️ | Float | Total quantity of items (deprecated, use itemQuantity). ⚠️ Deprecated: No longer supported |
itemQuantity | Int | Total quantity of items. |
subtotal | Float! | Subtotal including taxes. |
subtotalBeforeTaxes | Float! | Subtotal before taxes are applied. |
shipping | Float! | Shipping cost. |
taxes | [CheckoutTotalsTax!]! | List of taxes applied. |
tax | Float | Total tax amount. |