v1

latestOpenAPI 3.0.02026-07-226950132.6 KB
calculate

Get cart totals

Retrieves the cart totals including subtotal, taxes, shipping, and discounts.

get/totals

Query parameters

htmlboolean

Returns the totals pre-formatted.

Response

Cart totals retrieved successfully.

subtotalstring

Cart subtotal.

subtotal_taxstring

Cart subtotal tax.

shipping_totalstring

Shipping total.

shipping_taxstring

Shipping tax.

shipping_taxesnumber[]
discount_totalstring

Discount total.

discount_taxstring

Discount tax.

cart_contents_totalstring

Cart contents total.

cart_contents_taxstring

Cart contents tax.

cart_contents_taxesnumber[]
fee_totalstring

Fee total.

fee_taxstring

Fee tax.

fee_taxesnumber[]
totalstring

Cart total.

total_taxstring

Total tax.