Attribute
Type
Example
Description
total
*required
Float
100.0
Total for the whole cart that the shopper will pay (before tax and shipping normally)
items
Array of LineItem
[LineItem, LineItem]
An array of all the line items in the cart. See LineItem for model schema properties.
{ currency: 'USD', total: 100.0, total_discount: 5.0, total_weight: 2, items: [LineItem]}