This documentation is a Work in Progress. There maybe content unfinished. Feedback is welcome.
{
"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
}
Retrieves the cart totals including subtotal, taxes, shipping, and discounts.
{
"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
}
Returns the totals pre-formatted.
Cart totals retrieved successfully.
The response is of type object
.
Was this page helpful?