Calculate cart totals
Calculate cart totals
Calculates the cart totals including taxes, shipping, and discounts.
POST
Calculate cart totals
Documentation Index
Fetch the complete documentation index at: https://docs.cocartapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Returns the cart totals once calculated.
Response
Cart totals calculated successfully.
- Option 1
- Option 2
Cart totals when return_totals is true.
Cart subtotal.
Cart subtotal tax.
Shipping total.
Shipping tax.
Discount total.
Discount tax.
Cart contents total.
Cart contents tax.
Fee total.
Fee tax.
Cart total.
Total tax.