Skip to main content

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

NameTypeDescription
grandFloat!Grand total amount to pay.
leftToPayFloat!Amount remaining to be paid.
discountFloatDiscount amount applied.
itemsQuantity ⚠️FloatTotal quantity of items (deprecated, use itemQuantity). ⚠️ Deprecated: No longer supported
itemQuantityIntTotal quantity of items.
subtotalFloat!Subtotal including taxes.
subtotalBeforeTaxesFloat!Subtotal before taxes are applied.
shippingFloat!Shipping cost.
taxes[CheckoutTotalsTax!]!List of taxes applied.
taxFloatTotal tax amount.