Which one to use
| Your orders come from | Use |
| A WordPress shop (WooCommerce) | The Beacon plugin. About 5 minutes, no coding. |
| A Shopify store | A Shopify webhook. About 5 minutes, no app or coding. |
| An ERP, accounting or warehouse system (Odoo, Zoho, Sage, SAP, QuickBooks…) | Today: export the day's deliveries to Excel or CSV and upload them; Beacon learns your layout. For orders to flow by themselves, your system's developer or partner uses the API. |
| WhatsApp, phone calls, a notebook | Type or paste them into Beacon: New order, or Import → Paste a list. |
All connections are made in Beacon under Settings → Integrations by an account admin.
WooCommerce
Download the Beacon plugin (.zip)
- In Beacon: Settings → Integrations → Make a WooCommerce key. Copy the key.
- In WordPress: Plugins → Add New → Upload Plugin, choose the zip, then Activate.
- WooCommerce → Beacon Delivery: paste the key, check the pickup address (your shop), press Save. It says "Connected to …" when it works.
What happens then:
- When an order becomes Processing (paid, or cash on delivery) it's sent to Beacon. Orders for local pickup aren't.
- The customer's order emails and order page get a Track your delivery live link.
- Each order shows its Beacon delivery number and status, and notes as the driver picks up and delivers. Any order can be sent by hand with Send to Beacon.
- When the driver delivers, the order is marked Completed (you can turn this off).
- Cash on delivery orders ask the driver to collect the order total. Everything else is marked prepaid.
The shop needs to be reachable on https:// for delivery updates to come back.
Shopify
- In Beacon: Settings → Integrations → Connect Shopify. Copy the address it shows.
- In Shopify admin: Settings → Notifications → Webhooks → Create webhook. Event: Order creation. Format: JSON. URL: the address from Beacon. Save.
- On the same Shopify page, copy the signing key ("Your webhooks will be signed with …") and paste it into the Shopify connection in Beacon. From then on Beacon only accepts orders signed by your store.
Each new order with a delivery address becomes a Beacon order: customer, phone, address, what was ordered, and payment (paid orders as prepaid; unpaid cash-on-delivery orders with the amount to collect). Your customers get Beacon's tracking updates by email. Sending the same order twice never makes two deliveries.
If an address can't be found on the map, the order is still created, with a note asking the dispatcher to check it, so no order is lost.
Any system: upload a sheet
Almost every business system can export to Excel or CSV. In Beacon, open Import and upload the file as it is:
- Beacon finds the headings (even under a title), matches the columns by name (English or Kiswahili) and by what's in them, and tidies phone numbers, amounts and payment types.
- You see every row first, with anything that needs a look marked, and you can fix cells right there.
- Check addresses finds each one on the map first, using customers and addresses you've delivered to before.
- The layout is remembered, so the next export from the same system is matched by itself.
Starting from scratch? Use a template: courier, restaurants and shops, school transport, fleet and site jobs, any business.
API: getting started
Base address: https://portal.beaconhaul.com/api/v1. Everything is JSON over HTTPS.
Make a key in Beacon under Settings → Integrations → Make an API key. The full key is shown once. Send it with every request:
Authorization: Bearer bk_your_key_here
Check it works:
curl https://portal.beaconhaul.com/api/v1/ping \
-H "Authorization: Bearer $BEACON_KEY"
{"ok": true, "account": "Your Business", "connection": "Odoo"}
A key belongs to one Beacon account and can do everything the API offers for that account. Keep it on your server, never in a web page or app. Remove a key in Settings at any time; it stops working straight away.
Create an order
POST/orders
curl https://portal.beaconhaul.com/api/v1/orders \
-H "Authorization: Bearer $BEACON_KEY" -H "Content-Type: application/json" \
-d '{
"reference": "SO-1042",
"customer": { "name": "Wanjiru Kamau", "phone": "0722 100 301", "email": "[email protected]" },
"dropoff": { "address": "Yaya Centre, Argwings Kodhek Road", "notes": "Call at gate B" },
"pickup": { "address": "Sarit Centre, Westlands", "name": "Warehouse", "phone": "0711 000 999" },
"package": "Spare parts", "items": 2,
"payment": "cash", "amount": 1500,
"deliver_on": "2026-12-02"
}'
| Field | What it is |
reference | Your own order number. Strongly recommended: sending the same reference again returns the existing order instead of making a second one (status 200 instead of 201), so it's safe to retry. |
customer | name, phone (any Kenyan format), email (they get Beacon's delivery updates). |
dropoff | address, and if you have them lat and lng (best). notes for the driver. Required: an address or a map pin. |
pickup | Same shape, plus name and phone. Optional: leave it out to collect from hub (a hub's name in Beacon), or from the account's first hub. |
package, items, weight | What's being delivered: description, number of pieces, weight in kg. |
payment, amount | cash, mpesa or prepaid, and the amount the driver collects in KES (ignored for prepaid). |
deliver_on | A date (YYYY-MM-DD) for later deliveries. Leave it out for today. |
notes | Anything else for the dispatcher and driver. |
The answer is the order (201 when new). Addresses without a map pin are found the same way as on the Import page: customers and addresses you've delivered to before first, then the map. If only the area could be found, the answer includes a warning and the order notes ask the dispatcher to check.
Look up and list orders
GET/orders/{id, number, tracking code or reference}
curl https://portal.beaconhaul.com/api/v1/orders/SO-1042 -H "Authorization: Bearer $BEACON_KEY"
GET/orders?status=delivered&since=2026-12-01&limit=50
Newest changes first. status: one or more of waiting, assigned, on_the_way, delivered, failed, returned, cancelled (comma-separated). since: orders changed since this date or time. reference: your order number. limit: up to 100.
Cancel an order
POST/orders/{id, number, tracking code or reference}/cancel
curl -X POST https://portal.beaconhaul.com/api/v1/orders/SO-1042/cancel \
-H "Authorization: Bearer $BEACON_KEY" -H "Content-Type: application/json" \
-d '{"reason": "Customer changed their mind"}'
Orders already on the way, delivered or returned can't be cancelled here; call the dispatcher.
The order object
{
"id": "k2v9x7q1m3n8p4r",
"number": 1042,
"reference": "SO-1042",
"source": "api",
"status": "on_the_way",
"tracking_code": "UUVW96MY",
"tracking_url": "https://portal.beaconhaul.com/track/UUVW96MY",
"created": "2026-12-02 07:41:09.512Z",
"payment": "cash", "amount": 1500, "collected": 0,
"package": "Spare parts", "items": 2, "notes": "",
"customer": { "name": "Wanjiru Kamau", "phone": "+254722100301", "email": "[email protected]" },
"driver": { "name": "Peter Mwangi", "phone": "+254722100305", "vehicle": "motorbike", "plate": "KMDA 123B" },
"stops": [
{ "kind": "pickup", "address": "Sarit Centre, Westlands", "lat": -1.2614, "lng": 36.8026, "status": "done", "done_at": "2026-12-02 08:02:11.000Z" },
{ "kind": "dropoff", "address": "Yaya Centre, Argwings Kodhek Road", "lat": -1.2925, "lng": 36.7875, "status": "pending",
"received_by": "", "photos": 0, "signature": false }
]
}
Statuses: waiting (not yet given to a driver), assigned, on_the_way (picked up), delivered, failed, returned, cancelled. Times are UTC.
Delivery updates (webhooks)
Give each API connection the https:// address of your system in Settings → Integrations (or set it with PUT /webhook and {"url": "https://…"}). Beacon then sends a POST for every change to orders in the account:
order.created, order.assigned, order.unassigned, order.picked_up, order.arrived, order.delivered, order.failed, order.cancelled, order.returned.
POST https://your-system.example.com/beacon-updates
X-Beacon-Event: order.delivered
X-Beacon-Delivery: 7f3k2m9x1q5w8z0
X-Beacon-Signature: sha256=5d41402abc4b2a76b9719d911017c592...
{"event": "order.delivered", "sent_at": "2026-12-02T08:31:05Z",
"account": {"id": "…", "name": "Your Business"}, "order": { …the order object… }}
Check the signature with the connection's signing secret (Settings → Integrations → Signing secret): it's the HMAC-SHA256 of the exact request body.
// Node.js
const crypto = require('crypto')
const want = 'sha256=' + crypto.createHmac('sha256', SECRET).update(rawBody).digest('hex')
const ok = crypto.timingSafeEqual(Buffer.from(want), Buffer.from(req.headers['x-beacon-signature'] || ''))
// PHP
$ok = hash_equals('sha256=' . hash_hmac('sha256', $rawBody, $secret), $_SERVER['HTTP_X_BEACON_SIGNATURE'] ?? '');
# Python
ok = hmac.compare_digest('sha256=' + hmac.new(SECRET.encode(), raw_body, hashlib.sha256).hexdigest(), signature)
Answer with any 2xx status within 10 seconds. If your system doesn't, Beacon tries again after 1, 5, 15, 60 and 180 minutes; after that the update is marked as not delivered and shown on the connection in Settings. Updates usually arrive within a minute of the change. Use Send a test update in Settings to try your address.
Errors and limits
| Status | Meaning |
| 400 | Something in the request needs fixing. message says what, in plain words. |
| 401 | No key, or a key that isn't valid any more. |
| 403 | The Beacon account is paused. |
| 404 | No such order in this account. |
| 429 | Too many requests: more than 300 a minute. Wait a moment and try again. |
{"status": 400, "message": "Couldn't find \"qqq\" on the map. Send lat and lng, or a clearer address.", "data": {}}
Questions, or need a connection to a system that isn't listed? [email protected]