Cart
The model of the Cart object
- discountsType: array of object
- feesType: array of object
- idType: string
- metadataType: objectProperties: 2
Context about the cart rather than its contents.
- productsType: array of objectProperties: 3
The cart lines. Nested modifiers appear under each line's own product groups.
- Properties: 1settingsType: object
- Properties: 9summaryType: object
- Properties: 2tipType: object
Examples
{
"cart": {
"id": "f6ce31f7b7549cc7c3e5326661cf1dc3b5ea5c3fd89cce634667e483e23fb51a",
"products": [],
"discounts": [],
"tip": {
"amount": 0,
"type": 1
},
"fees": [],
"summary": {
"subtotal": 0,
"total": 0,
"discount": 0,
"payment_amount": 0,
"tax_rates": [],
"total_tax": 0,
"total_fee": 0,
"tip": 0,
"loyalty": {
"points_spent": 0,
"points_accrued": 0,
"available_points": 0
}
},
"settings": {
"prices_includes_tax": false
}
}
}
