Overview
Partner ecommerce platforms call from their server with a Bearer API key to get local Bangladesh courier estimates and international chart estimates, then book into the ISL dispatch queue.
POST /api/v1/quotes— ranked estimate optionsPOST /api/v1/shipments— book into ISL serial queueGET /api/v1/shipments/track?token=…— public status poll
Authentication
After partnership, ISL issues a Marketplace API key (Admin → Marketplace API). Store it in your server secret store — never in browser JavaScript.
Authorization: Bearer YOUR_KEY Idempotency-Key: store-checkout-abc
To request a key, email: contact@islfreight.com
Quote
POST /api/v1/quotes
Authorization: Bearer YOUR_KEY
Idempotency-Key: quote-1
Content-Type: application/json
{
"origin": "Dhanmondi, Dhaka",
"destination": "Agrabad, Chattogram",
"weight_kg": 1,
"length_cm": 20,
"width_cm": 15,
"height_cm": 10,
"service": "courier",
"delivery_mode": "home",
"cod_amount": 1000
}Required: origin, destination, weight_kg. Dimensions (length/width/height_cm) recommended for local card matching.
Book / serial queue
POST /api/v1/shipments
Authorization: Bearer YOUR_KEY
Idempotency-Key: order-123
Content-Type: application/json
{
"origin": "Dhanmondi, Dhaka",
"destination": "Agrabad, Chattogram",
"weight_kg": 1,
"length_cm": 20, "width_cm": 15, "height_cm": 10,
"service": "courier",
"customer_name": "Store customer",
"customer_phone": "01XXXXXXXXX"
}ISL ranks partners by cheapest matching rate and offers one at a time. Decline or SLA timeout advances; accept locks the job.
Local vs international
- local — BD courier lane cards (courier/door/transport on BD routes).
- international — Vendor chart rows: country, zip, weight, dims, CBM, price, transit, commodities, HS, VAT/tax. Used for air/sea/customs or international country/destination.
- Optional
route_mode:local|international
Complex sea/air RFQs can still use POST /api/v1/rfqs.
Keys & support
API keys are for partnered stores only. Technical contract: docs/API.md. Contact: contact@islfreight.com