Computes a pre-checkout cost estimate for a given merchant, destination, and list of items — including subtotal, shipping, tax, and total. Useful for surfacing accurate pricing to users before initiating a full checkout.
Recent Requests
Log in to see full request history
Time
Status
User Agent
Retrieving recent requests…
Loading…
Compute a pre-checkout cost estimate for a given merchant, destination, and list of items — including subtotal, shipping, and tax — without initiating a full checkout. Works across CartAI's merchant network including Shopify stores and major retailers.
When to Use This Endpoint
Use /checkout-estimates to show users an accurate order total before they commit to a purchase. It is a read-only operation — no cart is created and no order is placed.
Use case
Recommended approach
Show order total before checkout
Call /checkout-estimates and display total to the user
Surface itemised tax and shipping
Break down tax, shipping, and subtotal from the response
When shippingKnown is false, shipping will be 0.0 — treat the estimate as incomplete and avoid displaying it as the final total.
tax is estimated based on destination ZIP and item category. The actual tax charged at checkout may differ slightly depending on the merchant's tax configuration.
unitPrice in the request is used as-is for the estimate. Pass the price from /product/details to ensure accuracy.
Responses
400
Bad Request
Updated about 1 month ago
Did this page help you?
Language
Loading…
Response
Click Try It! to start a request and see the response here! Or choose an example: