Skip to main content
POST
Error

Body

application/json
return_totals
boolean
default:false

Returns the cart totals once calculated.

Response

Cart totals calculated successfully.

Cart totals when return_totals is true.

subtotal
string

Cart subtotal.

subtotal_tax
string

Cart subtotal tax.

shipping_total
string

Shipping total.

shipping_tax
string

Shipping tax.

shipping_taxes
number[]
discount_total
string

Discount total.

discount_tax
string

Discount tax.

cart_contents_total
string

Cart contents total.

cart_contents_tax
string

Cart contents tax.

cart_contents_taxes
number[]
fee_total
string

Fee total.

fee_tax
string

Fee tax.

fee_taxes
number[]
total
string

Cart total.

total_tax
string

Total tax.