GET
/
totals
{
  "subtotal": "<string>",
  "subtotal_tax": 123,
  "shipping_total": "<string>",
  "shipping_tax": 123,
  "shipping_taxes": [
    123
  ],
  "discount_total": 123,
  "discount_tax": 123,
  "cart_contents_total": "<string>",
  "cart_contents_tax": 123,
  "cart_contents_taxes": [
    123
  ],
  "fee_total": "<string>",
  "fee_tax": 123,
  "fee_taxes": [
    123
  ],
  "total": "<string>",
  "total_tax": 123
}

Query Parameters

html
boolean
default:false

Returns the totals pre-formatted.

Response

200
application/json

Cart totals retrieved successfully.

The response is of type object.