Delivery Service Quote
The Delivery Service Quote object
idstringoptionalPublic identifier of the service quote.
service_ratestringoptionalService rate the quote was priced with.
service_rate_namestringoptionalName of the service rate.
service_namestringoptionalName of the delivery service.
facilitatorstringoptionalIntegrated vendor that produced the quote, or null for the store's own rates.
request_idstringoptionalIdentifier of the quote request.
amountintegeroptionalQuoted delivery amount in the currency's smallest unit.
currencycurrencyoptionalQuote currency code.
itemsarrayoptionalLine items that make up the quoted amount.
metaobjectoptionalOrigin and destination used for the quote. For a multi-store Network cart, origin is an array of place IDs.
{
"id": "service_quote_4fK2mQ8",
"service_rate": "service_rate_7Hq2xL9",
"service_rate_name": "Standard delivery",
"service_name": "Standard delivery",
"facilitator": null,
"request_id": "c2f1a7d4-2b8e-4c51-9d0a-6f3e1b2c4d5e",
"amount": 950,
"currency": "USD",
"items": [
{
"amount": 950,
"currency": "USD",
"details": "Base fee and distance"
}
],
"meta": {
"origin": "place_123",
"destination": "place_456"
},
"created_at": "2026-10-07T13:30:00Z",
"updated_at": "2026-10-07T13:30:00Z"
}/v1/service-quotes/from-cartRetrieve a Delivery Service Quote ❗
Returns a delivery service quote for the supplied cart, origin, and destination. Use the quote's id as service_quote at checkout to include delivery pricing. Returns a single quote, or an array with all=1.
For a multi-store Network cart the distance is summed leg by leg: from the farthest store, to the nearest next store, then to the customer.
Errors: 422 with code: "cart_items_unavailable" and items: [{ id, product_id, name }] when a product in the cart was deleted, made unavailable or unpublished, or a line's food truck or store location no longer exists (show it to the customer and send them back to the cart). 400 for a missing origin or destination, no service rates, or an unknown integrated vendor. 422 when a Network store location is not available in the network.
cartstringrequiredCart public ID or unique identifier. Network cart origins must belong to the corresponding member stores.
destinationstringrequiredWhere to deliver: a place ID, store location ID, vehicle ID, food truck ID, or a lat,lng pair.
originstringoptionalWhere the delivery starts, in the same formats as destination. Required for a store key (a store location must belong to that store). For a network key it's optional: each cart line's store location is used, and origin (or comma-separated IDs) is only a fallback.
facilitatorstringoptionalIntegrated vendor ID or provider to quote with instead of the store's own service rates.
scheduled_attimestampoptionalRequested delivery time, forwarded to integrated vendors.
service_typestringoptionalService type, forwarded to integrated vendors.
allbooleanoptionalDefault: falseReturn every available quote as an array instead of the single best quote.
is_route_optimizedbooleanoptionalDefault: trueWhether the route through several stores is optimized when pricing a multi-store cart.
/v1/service-quotes/from-cartcurl https://api.fleetbase.io/v1/service-quotes/from-cart?origin=1.3521%2C103.8198&destination=1.3644%2C103.9915&cart={{cart_id}} \
-H "Authorization: Bearer flb_live_…"