Bahrain merchants on Salla, Zid, Shopify and custom POS systems keep asking for a delivery API that understands BHD and blocks — not a global courier that wants a postcode Bahrain does not use. Wassel’s B2B API is built for that local reality.
What you can automate today
- Price estimate before checkout (service type, vehicle, distance).
- Create order with pickup / drop-off city, block, road, building, flat, phones and COD amount.
- Idempotency keys so a double-click does not debit the wallet twice.
- Wallet debit for the delivery fee + optional VAT.
- Live track URL and websocket for each order.
- Webhooks when status changes (assigned, picked up, arrived, delivered, failed, returned).
- Cancel while the order is still dispatching.
- Rate the courier after delivery if you collect CSAT in your own CRM.
Addresses the API expects
Send structured Bahrain fields, not a single string. Pickup and destination each need a city id and block id from the catalog endpoints, plus road / building digits. Optional lat/lng help, but the block is the source of truth for dispatch.
Auth, sandbox and live
Use X-API-Key and X-API-Secret. Generate keys from the user developer portal once admin enables API access on the merchant account. Test payloads against sandbox keys, then switch to live. Never embed secrets in a mobile app — call Wassel from your backend.
Webhooks you should actually handle
At minimum: delivery.created, assigned / on_the_way, delivered, cancelled, and failed. Verify the signature header. If your warehouse already printed a waybill, a failed dispatch should reopen packing — not sit in “out for delivery” forever.
No developers on the team?
You do not need the API to use Wassel. Home brands and Instagram shops create orders in the app in seconds, collect cash or BenefitPay at the door, and share the tracking link in DMs. When volume grows, the API is the same product — not a different courier.
Full reference: wassel.delivery/api/v1/documentation. Related: delivery without an API and COD for Bahrain stores.
