Dawurobo Partner Platform

Delivery orders

Create, track, estimate, and cancel deliveries in Ghana — the flagship Dawurobo delivery API.

The delivery order API is the core of the platform: create a delivery, get a price up front, track it to the door, and cancel it. Every operation is a signed POST to https://delivery.dawurobo.com/api/v1/delivery/{operation} (see Authentication and signing); full schemas are in the API Reference.

You need a partner account and a signed request

These endpoints reject unsigned or unauthenticated calls. Create a partner account for an instant staging key, then sign every request. Every operation on this page works with a staging key.

Staging orders are test orders

Orders made with a staging key are kept apart from real orders. They are never given to a rider, they send no SMS to anyone, and they send no webhooks. Their status stays placed unless you cancel them. Use them to test your requests and responses; use a production key for real deliveries.

Delivery times

Inside Accra, parcels usually arrive within 24 hours. Between cities, delivery follows the route: Accra ⇄ Kumasi is the next working day after pickup. We deliver Monday to Saturday. These are usual times, not a guarantee.

delivery_date is the pickup date, and leaving it out means today. Inside a city it is also the delivery date; between cities the order's delivery date is set from the route (a parcel picked up on Saturday for Kumasi is delivered on Monday).

Pickup timing. Book before 8:30 am for pickup the same day. An order that comes in later is picked up the same day when we have space, and otherwise on the next working day. We don't collect or deliver on Sundays or on days a branch is closed: an order dated for one is refused with 422 NON_WORKING_DAY or 422 DATE_BLOCKED, and the message says which day to avoid. Send a working-day delivery_date.

delivery_date must be today or a later date (Africa/Accra). A date that has already passed is refused with 422 DATE_IN_PAST, and an unreadable one with 400 INVALID_DATE; we never move it for you. Send YYYY-MM-DD or a full ISO 8601 timestamp.

Prices

Inside a city the fee is set from the pickup → delivery distance.

Between cities (pickup and delivery more than 50 km apart, or a delivery.city that is another city on our rate card) the fee is our published rate card's price for the route — the same prices as Check rates. An API order is always collected from you, so it is priced at the "we collect" rate:

RouteTo the doorTo our office (recipient collects)
Accra ⇄ KumasiGHS 50GHS 40

Set delivery.method to "office" to send it to our office in that city or town (cheaper, and the only option in some towns). orders.estimate shows both prices. A route we don't price yet is refused with 422 ROUTE_NOT_PRICED (contact us for a quote), and a town with no door delivery with 422 DOOR_NOT_AVAILABLE, whose office_price_ghs is the office price.

Size and weight

These prices are for normal parcels. Our dispatch team checks every parcel at pickup, because the size and weight given at booking are often different from the real parcel. For a big or heavy parcel the final price is set by dispatch after they see and weigh it, and we tell you before we move it. Very large items travel within Accra only — we can't send them between cities.

Scopes at a glance

OperationScopeNotes
orders.estimatedelivery:readPrice a delivery before committing.
locations.listdelivery:readSupported delivery areas/zones.
orders.createdelivery:writeCreate a delivery. Wallet-funded orders also need delivery:wallet:spend.
orders.getdelivery:readFull status of one of your orders.
orders.trackdelivery:readCustomer-facing status timeline.
orders.canceldelivery:writeCancel before delivery.

delivery:wallet:spend is a sensitive money scope — it is not granted by a delivery:* wildcard and must be issued to your key by name. See How money works.

Estimate a delivery

POST /api/v1/delivery/orders.estimate — pure calculation, no order is created.

{
  "delivery_location": { "coordinates": { "lat": 5.556, "lng": -0.2057 } },
  "pickup_location": { "coordinates": { "lat": 5.58, "lng": -0.22 } },
  "priority": "standard"
}

Returns estimated_price, delivery windows, service area, and the standard/economy/cargo options. Delivery coordinates are required; pickup defaults to central Accra when omitted.

Create an order

POST /api/v1/delivery/orders.create

{
  "order_reference": "EXT-1001",
  "customer": { "name": "Ama Mensah", "phone": "0244000000" },
  "delivery": {
    "address": "123 Oxford St, Osu",
    "city": "Accra",
    "region": "Greater Accra",
    "coordinates": { "lat": 5.556, "lng": -0.2057 }
  },
  "item": "1x parcel",
  "pickup": {
    "address": "456 Ring Rd",
    "contact_person": "Kojo",
    "contact_phone": "0209999999",
    "coordinates": { "lat": 5.58, "lng": -0.22 }
  },
  "payment": { "payer": "recipient" },
  "delivery_date": "2026-07-10T10:00:00Z",
  "special_instructions": "Call the recipient on arrival. Fragile."
}

Required fields: order_reference, customer.name, customer.phone, delivery.address, delivery.city, delivery.region, item, pickup.contact_person and pickup.contact_phone. A missing one returns 400 MISSING_REQUIRED_FIELD.

  • Standard delivery only. orders.create books a standard delivery. Economy, cargo and priority deliveries can't be booked through the API yet, even though orders.estimate shows economy and cargo prices.
  • Rider instructions go in special_instructions or delivery.notes. Both reach the rider.

On success (201):

{
  "status": "success",
  "message": "Order created successfully",
  "data": {
    "order_details": {
      "order_id": "ORD-...",
      "estimated_delivery": "2026-07-10T00:00:00.000Z",
      "pickup_date": "2026-07-10",
      "delivery_date": "2026-07-10",
      "deferred": null
    },
    "status": "order_created"
  }
}

Keep the returned order_id — you'll use it for orders.get, orders.track, and orders.cancel. pickup_date and delivery_date are the days the order is actually booked for. Read them rather than assuming the day you sent.

Book before the branch's pickup cut-off

Each branch has a time after which it can no longer send a rider out to collect the same day (Accra: 08:30). An order for today that arrives after that time is not refused: it is booked for the next working day, at the same price, and the response says so in deferred:

"deferred": {
  "code": "after_branch_cutoff",
  "reason": "After the branch pickup cut-off, 08:30.",
  "legs": ["pickup"],
  "cutoff_time": "08:30",
  "branch": "Accra Main",
  "original_pickup_date": "2026-07-10",
  "original_delivery_date": "2026-07-10",
  "pickup_date": "2026-07-11",
  "delivery_date": "2026-07-11"
}

Tell your customer the new day. If our team finds room to collect it the same day after all, they may move it back; no webhook is sent for a date change, so orders.get always has the current pickup_date and delivery_date. To keep the day you asked for, send the order before the cut-off. deferred is null on an order booked as sent. orders.create_bulk returns the same three fields on each successful item.

What the recipient and sender see

With a production key, the recipient gets an SMS when the order is created, and more as it moves. The pickup contact (pickup.contact_phone) gets SMS too. These come from the sender ID Dawurobo, and they name the sender as your pickup.contact_person. So put the name your customer will recognise there, such as your shop name. Your customers are yours: the delivered message just says the parcel from you was delivered, with no Dawurobo offers or links, and our riders don't give recipients their phone numbers.

Sending your own tracking SMS? We can switch off our SMS to your customers for your app — ask us. It applies to orders you pay from your wallet (payment.payer: "partner"). On recipient-pays orders we still send the payment-link SMS, because it is how the customer pays by mobile money instead of cash at the door. Our SMS to the pickup contact (often your seller) can be switched off the same way, on wallet-paid orders.

Declared value. Send declared_value_ghs with the value of the parcel's contents. It is kept on the order and is what loss or damage cover is paid against (see How money works).

order_reference is your idempotency key

Creating two orders with the same order_reference returns 409 DUPLICATE_ORDER_REFERENCE — a retry after a network timeout will never double-create or double-charge. If you're unsure whether a create succeeded, retry with the same order_reference: a 409 means the first attempt landed (or is still completing — confirm with orders.get), while a fresh 201 means it's now created.

Who pays — payment.payer

  • recipient (default) — cash on delivery; your wallet is not touched.
  • partner — the delivery fee is debited from your delivery wallet at creation. This requires the delivery:wallet:spend scope and valid pickup + delivery coordinates (so Dawurobo prices the fee — a wallet-funded order is never billed against a client-supplied amount). If the wallet can't cover it (and no credit headroom), you get 402 INSUFFICIENT_WALLET_BALANCE.

Your account has one delivery wallet, shared by all of its apps. Every app's wallet-paid orders draw from the same balance.

A wallet-paid order needs the delivery:wallet:spend scope and both sets of coordinates. Only production keys can hold that scope: new staging keys are issued without it and get 403 INSUFFICIENT_SCOPE for a wallet-paid order. (On an older staging key that still carries the scope, a wallet-paid order is simulated: no wallet is read or charged.)

See How money works for the full model.

Get order status

POST /api/v1/delivery/orders.get

{ "order_id": "ORD-..." }

Returns the current status, recipient info, amount, and payment status. An order that isn't yours returns 404 ORDER_NOT_FOUND — the same response as a non-existent order, so you can't probe other partners' orders.

Order statuses

status (and current_status from orders.track) is one of these values:

StatusMeaning
placedBooked. Waiting for us to accept it.
acceptedAccepted. A rider may be on the way to collect it.
processingBeing processed by our team.
rejectedWe could not take the order.
receivedThe parcel is at a Dawurobo office.
toGoOutReady to go out for delivery.
pickedUpThe rider has collected the parcel.
inTransitOn the way.
inTransitToHubOn the way to the hub in another city.
inTransitToRecipientOut for delivery to the recipient.
deliveredDelivered.
cancelledCancelled.
rescheduledMoved to a new delivery date.
returnedBrought back to our office.
to_return_to_vendorWill be returned to the sender.
returned_to_vendorReturned to the sender.
refundedRefunded.

Treat any value you don't recognise as "in progress". Webhooks carry the same values in order_data.status.

Track an order

POST /api/v1/delivery/orders.track

{ "order_id": "ORD-..." }

Returns a customer-facing timeline with the recipient's phone masked to the last 4 digits — safe to surface in your own UI.

The timeline always has five steps, with these fixed status ids: placed, accepted, pickedUp, in_transit, delivered. Each step has a title and a completed flag. The step ids are labels for the timeline, not order statuses. in_transit is never an order status. For the exact state, read current_status, which uses the order statuses above.

The tracking page

orders.get returns a tracking_url — https://delivery.dawurobo.com/track?order_id=ORD-… — and webhooks carry the same link. It's a public page, no sign-in: anyone with the link sees the order's status, its timeline and its attachments (the handover photo when the rider took one, transport receipts and parcel or car photos our team adds). It doesn't expire, so you can give it to your merchants and shoppers. Signed in as your account at delivery.dawurobo.com, the same orders and attachments are under Orders → View more.

A staging order's tracking_url points to the staging site (https://dawurobo-delivery-staging.vercel.app/track?order_id=ORD-…), where staging orders live; production orders link to delivery.dawurobo.com.

Cancel an order

POST /api/v1/delivery/orders.cancel

{ "order_id": "ORD-...", "reason": "Customer changed their mind" }

Cancels an order that hasn't been delivered, returned or already cancelled (otherwise 400 INVALID_ORDER_STATUS). If the order changed state between your call and ours, the cancel is refused with 409 CANCELLATION_REFUSED — don't retry it; read the order with orders.get. For a wallet-funded order the response includes refund_status: "pending" — see the refund policy.

List delivery locations

POST /api/v1/delivery/locations.list

{ "region": "Greater Accra", "include_coordinates": true }

Returns the supported delivery areas/zones, optionally filtered by region/zone. The returned ids can be attached to orders.create as location_id to label the pickup/delivery area — but note that automatic fee pricing works from coordinates: without them the fee falls back to your payment.amount, and wallet-funded orders require coordinates outright.