Skip to content

Estimate cart shipping (per vendor)​

POST
/public/shipping-quote

Returns the exact per-vendor shipping checkout will charge for the supplied cart — each vendor's flat delivery fee, waived above that vendor's optional free-shipping threshold — summed into an order-level total. No order is created. Lets the cart/checkout UI show an accurate total (including multi-vendor carts). Prices and vendors are resolved from the catalog the same way checkout does. Guest-friendly.

Auth: Public (no authentication).

Same route as POST /shipping-quote under the explicit /public namespace: same handler, parameters, cache headers and X-Channel handling. Prefer this path.

Request Body​

application/json
JSON
{
  
"items": [
  
],
  
"currency": "TND"
}

Responses​

Per-vendor shipping estimate

application/json
JSON
{
  
"ok": true,
  
"data": {
  
  
"shippingAmount": 0,
  
  
"perVendor": [
  
  
  
{
  
  
  
  
"vendorId": "string",
  
  
  
  
"shippingAmount": 0
  
  
  
}
  
  
],
  
  
"currency": "string"
  
}
}

Playground​

Body

Samples​

Powered by VitePress OpenAPI

Tarifs : contactez-nous — contact@marketkit.ai