Zoey REST API reference ยท Interactive version: apidocs.zoey.com
GET https://container-url.zoeysite.com/api/rest/checkout2/cart_totals?id=287
Get the totals for the cart as currently configured.
Query parameters:
| Name | Example | Notes |
|---|---|---|
id | 287 | ID of shopping cart to fetch info. ( Required ) |
Example response (Get Totals), HTTP 200:
[
{
"title": "Subtotal",
"amount": 136.36
},
{
"title": "Discount",
"amount": 0
},
{
"title": "Gift Card",
"amount": 0
},
{
"title": "Shipping & Handling (Flat Rate 1 - Standard Shipping)",
"amount": "5.0000"
},
{
"title": "Tax",
"amount": "13.6400"
},
{
"title": "Grand Total",
"amount": 155
}
]