Optionalcart_Discounts applied at cart level. Item-level discounts remain on
items[].price.discounts.
Max items: 1000
Final gross total for the sale: sum of items[].price.total_gross_amount_final
after cart-level discounts (tips excluded).
Same value as search total_amount, in minor units according to Sale.currency.scale.
Payment amounts include tips and can therefore differ from this gross total.
The value of the amount in minor units of the currency according to the Sale.currency.scale.
value can get large for some currencies and applications.
Use Long type or a similar data type when parsing value.
Format: int64
Final net total for the sale: sum of items[].price.total_net_amount_final
after cart-level discounts (tips excluded).
In minor units according to Sale.currency.scale.
The value of the amount in minor units of the currency according to the Sale.currency.scale.
value can get large for some currencies and applications.
Use Long type or a similar data type when parsing value.
Format: int64
Tax lines aggregated across the sale (after cart-level discounts).
Per-line tax detail remains on items[].price.taxes / taxes_final.
Min items: 1
Max items: 1000
Sale-level pricing aggregate, parallel to
SaleItemPriceon eachSaleItem.Line-level breakdown (unit price, line discounts, per-line taxes) lives on
items[].price. This object holds the rolled-up totals and cart-level adjustments that consumers use for receipts and payment reconciliation.