Pobo Merchant API

Integration reference · Version 1

Pobo Merchant API

Quote a delivery, place the order, book a rider and follow it to the door — from your own website, with the Pobo Panel as your operations desk.

Draft contract, published for review

This is the v1 contract. It is specified in full and stable enough to build against, and it is the document the implementation is being written from — not a description of something already running. Sandbox credentials are issued per merchant on request. Any breaking change before general availability will be announced directly to every merchant holding a sandbox key, never made silently.

How it fits together

Pobo sits between your website and the delivery fleets. You keep the storefront, the cart and the payment; Pobo takes the order from the moment it is placed and gets it to the customer's door — choosing a carrier, booking the rider, tracking the trip and telling you what happened at every step.

01CheckIs this address deliverable at all?
02QuoteWhat will it cost, and how soon?
03ScheduleWhich day and time slot?
04PlaceThe order enters Pobo and your Panel.
05DispatchA rider is booked and assigned.
06DeliverWebhooks report every movement.

Steps 1–3 run while the customer is still shopping, so your checkout can show a real price and a real promise. Step 4 is the commitment point. Steps 5 and 6 can be automatic, or held for a human on the Pobo board — that is a setting, not a code change.

What is yours and what is ours

Pobo quotes what a delivery costs you. What you charge your customer for delivery is entirely your decision — a flat fee, a distance ladder, free over a threshold, a coupon that zeroes it. Pobo never sees that number and never needs it. If you already have a delivery pricing model that works, keep it.

Conventions

TopicRule
Base URLLive: https://pobo.app/api
Sandbox: https://sandbox.pobo.app/api
Every path below already carries its /v1, so a full call is https://pobo.app/api/v1/quotes.
FormatJSON in, JSON out. Send Content-Type: application/json and Accept: application/json.
MoneyAlways an integer in paise, never a decimal. ₹51.86 is 5186. Currency is INR. Every field carrying money ends in _paise.
TimeISO 8601 with offset — 2026-08-27T14:30:00+05:30. Dates alone are YYYY-MM-DD, slot times are HH:MM, both in Asia/Kolkata.
Phone numbersE.164 with the country code: +919816728172. A number sent without +91 is rejected rather than guessed.
Your order idEvery order carries your own reference. It is the id you use in every later call — Pobo never asks you to store an id of ours.
IdempotencySend Idempotency-Key on any POST. A repeat of the same key returns the original result instead of acting twice. Keys live 24 hours.
Errorsapplication/problem+json, per RFC 9457. See Errors.
Rate limitsEvery response carries RateLimit and RateLimit-Policy. See Rate limits.
VersioningThe version is in the path. A new version never changes /v1; new optional fields may be added to /v1 responses, so parse leniently.
Why paise

Delivery pricing is settled against carriers in minor units, and a rounding error on a rider's cash collection is a real dispute at a real doorstep. Send and read integers everywhere and there is nothing to round.

If your own system works in rupees

Multiply by 100 on the way in and divide on the way out, at the boundary, in one place. An order worth ₹900 sent as 900 rather than 90000 is a hundredfold error — and on a cash order that is the amount a rider asks for at the door. Pobo rejects totals that are implausibly small for the items attached, but do not rely on that catching every case.

Authentication

Every request carries a bearer token issued from your Pobo Panel under Settings → API access. Tokens are shown once at creation. You may hold several — one per environment or per system — and revoke any of them without affecting the others.

Authorization: Bearer pobo_live_7f3c9a2e5b8d41f6a0c7e2d9b4a18e3c
Content-Type: application/json
Idempotency-Key: 3f6b1c40-9d2a-4c8e-b7a5-1e0d84f2c6b9

The token identifies your store, so no request ever names it. Sandbox tokens are prefixed pobo_test_ and can only reach sandbox; they book mock riders, never real ones, and are never billed.

Keep it server-side

A Pobo token can place and cancel orders. It belongs on your server, never in browser JavaScript or a mobile app bundle. If a token is exposed, revoke it in the Panel — revocation takes effect immediately.

Is your store ready

The first call to make, and the one to come back to whenever something answers emptily. It confirms your token works, names the store it belongs to, and tells you whether that store is configured well enough to quote anything at all.

GET/v1/store

Your store, and what is stopping it quoting.

Response 200 — ready
{
  "id": "str_7f3c9a2e",
  "name": "HSR Kitchen Co",
  "timezone": "Asia/Kolkata",
  "currency": "INR",
  "mode": "sandbox",
  "max_distance_km": 12,
  "modes_enabled": ["local_delivery", "pickup"],
  "readiness": { "ready": true, "missing": [] }
}
Response 200 — not ready
{
  "id": "str_7f3c9a2e",
  "name": "HSR Kitchen Co",
  "mode": "sandbox",
  "readiness": {
    "ready": false,
    "missing": [
      {
        "requirement": "carrier_enabled",
        "detail": "No carrier is enabled, so every
          quote will come back empty. Enable at
          least one in the Panel under Settings
          > Carriers."
      }
    ]
  }
}
An empty quote list has two very different causes

Either no carrier will serve that address at that time — a real answer — or your store is not configured to ask anyone. They look identical from the outside. Check readiness first and you will never spend an afternoon debugging a carrier problem you do not have.

The requirements that can appear in missing are pickup_location, pickup_coordinates, delivery_radius, carrier_enabled, delivery_calendar, webhook_endpoint and wallet_funded. Each carries a detail naming what to do and where in the Panel to do it.

Your outlets

Every location Pobo can dispatch from, with the id to pass as pickup_location_id. If you have exactly one, you may omit that field everywhere and Pobo uses it.

GET/v1/pickup-locations

The outlets you fulfil from.

{
  "locations": [
    {
      "id": "loc_hsr",
      "name": "HSR Kitchen",
      "address": {
        "line1": "12, 27th Main",
        "city": "Bengaluru",
        "state": "Karnataka",
        "pincode": "560102",
        "country": "IN",
        "latitude": 12.9116,
        "longitude": 77.6389
      },
      "is_default": true,
      "has_coordinates": true
    }
  ]
}
has_coordinates: false is a refusal, not a detail

Pobo measures serviceability from a real point on the map. A location without coordinates cannot be measured from, so Pobo declines to quote local delivery out of it rather than guessing an origin. That is deliberate: a guessed origin has quoted a 68 km trip as same-day before. Add coordinates in the Panel.

Your own steps

Your orders go through steps of your own long before a rider is involved — baked, boxed, ready. Name them in the Panel under Settings › Order stages and you can set them from your own systems as work happens, and filter your orders by them.

A stage is independent of status. status is where Pobo has got to with the delivery; a stage is where you have got to with the work. An order always has the first and may have the second, or neither.

GET/v1/order-stages

The stages you have named, with the id to send.

{
  "stages": [
    { "id": "baked", "label": "Baked" },
    { "id": "boxed", "label": "Boxed" }
  ]
}

Set one by amending the order. It stays amendable after dispatch — “collected by rider” is a stage, and a workflow that stopped the moment a carrier took the order would be no use for the half that matters most.

PATCH /v1/orders/BCB482913
{ "stage": "baked" }

Send null to clear it. A stage id we do not recognise is refused rather than ignored, so a display sending the wrong id finds out rather than silently marking nothing.

Renaming a stage never changes its id

The id is generated once from the name you first gave it and then frozen. Rename “Baked” to “Out of oven” and anything already sending baked keeps working. Removing a stage leaves the orders that were in it with no stage, and changes nothing about their delivery.

Serviceability

Ask this before you show a delivery option at all. It answers from your configured pickup location, your delivery radius and any pincode or city rules you have set in the Panel — cheaply, and without quoting a carrier.

POST/v1/serviceability

Can this address be served, and from which of your locations.

Request
{
  "drop": {
    "pincode": "560102",
    "city": "Bengaluru",
    "state": "Karnataka",
    "latitude": 12.9121,
    "longitude": 77.6446
  }
}
Response 200
{
  "serviceable": true,
  "distance_km": 4.8,
  "max_distance_km": 12,
  "exact": true,
  "pickup_location": {
    "id": "loc_hsr",
    "name": "HSR Kitchen"
  },
  "modes": ["local_delivery", "pickup"]
}

Send either a pincode or a coordinate pair — you need one of the two, and coordinates are much better. With only a pincode, Pobo geocodes the address itself and exact comes back false: the answer is advisory, and the real distance is measured again at quote time against the full address.

An unserviceable address is a 200, not an error

"We do not deliver there" is a normal answer to a fair question, so it arrives as "serviceable": false with a reason — not as a failure your checkout has to catch. Errors are reserved for requests Pobo could not evaluate at all.

The radius is a hard limit

Pobo will never quote or accept a hyperlocal delivery beyond the maximum distance you configured, even if a carrier would take it. Treat serviceable: false as final and offer pickup or courier shipping instead.

Delivery quotes

Real prices from the carriers you have enabled, in the order you have ranked them. Call this on your checkout page once the customer's address is known.

POST/v1/quotes

Priced delivery options for one address, cart and time.

Request
{
  "drop": {
    "name": "Ananya Rao",
    "phone": "+919812345678",
    "line1": "402, Lakeview Residency",
    "line2": "27th Main, Sector 2",
    "landmark": "Opposite BDA Complex",
    "city": "Bengaluru",
    "state": "Karnataka",
    "pincode": "560102",
    "country": "IN",
    "latitude": 12.9121,
    "longitude": 77.6446
  },
  "cart": {
    "subtotal_paise": 84900,
    "weight_grams": 2400,
    "item_count": 6
  },
  "payment_method": "cod",
  "scheduled_for": "2026-08-27T18:00:00+05:30"
}
Response 200
{
  "quotes": [
    {
      "id": "qte_9x2c7Kd4",
      "carrier": "borzo",
      "carrier_label": "Borzo",
      "mode": "local_delivery",
      "price_paise": 5186,
      "eta_minutes": 46,
      "distance_km": 4.8,
      "cod_supported": true,
      "expires_at": "2026-08-27T12:14:22+05:30"
    },
    {
      "id": "qte_5m8Rb1Ph",
      "carrier": "delhivery",
      "carrier_label": "Delhivery",
      "mode": "shipping",
      "price_paise": 9900,
      "eta_days": 2,
      "cod_supported": true,
      "expires_at": "2026-08-27T12:14:22+05:30"
    }
  ],
  "distance_km": 4.8
}

Reading the response

  • These are your costs, not your customer's price. price_paise is what the delivery costs you. What you charge for it is yours to decide.
  • Order matters. Quotes come back in your configured carrier preference, best first. Showing the customer only the first one is a normal choice.
  • An empty list is an answer. It means no enabled carrier will serve that address at that time — not that something failed. Fall back to pickup, a later slot, or a courier. If it is always empty, check /v1/store.
  • Hold the quote id. Pass it to order creation and Pobo dispatches against exactly the price the customer saw. Without it, the order is priced again at dispatch and may differ.
  • Quotes expire after fifteen minutes. An expired quote does not block the order; it just falls back to a fresh price.
  • Cash on delivery is only offered where cod_supported is true. A carrier that cannot collect cash will not accept a cash order.

Delivery windows

If you sell scheduled delivery — a same-day slot, a fixed date, a subscription drop — there are two ways this can work, and they are a Panel setting rather than a different integration.

Who owns the calendarWhat you do
You do
You already have dates, slots and cut-offs built into your checkout.
Keep them. Do not call this endpoint. Send delivery.date, slot_start and slot_end when you create the order, and Pobo records that window as the promise to keep — it drives the board, the production plan and the dispatch timing. Pobo will not second-guess a window it was not asked to manage.
Pobo does
You would rather configure it once in the Panel than build it.
Call this endpoint for the days and slots you may offer, with the capacity left on each. Creating an order then holds capacity against the window you chose, and a full window is refused.
You can change your mind later without changing your code

The same three fields carry the window in both models. Moving from your own calendar to Pobo's — usually because you want capacity limits per slot, or because a second outlet made it complicated — is a Panel setting and a new call, not a rewrite of how you place orders.

GET/v1/delivery-windows

Open dates and slots, with remaining capacity.

Query
from       2026-08-27   required
to         2026-09-05   required, max 62 days
mode       local_delivery | pickup
pincode    560102       optional, applies
                        pincode-specific rules
pickup_location_id      optional
sku        CAKE-CHOC-1KG
sku        CANDLE-NUM-3
                        repeat once per distinct
                        product in the basket
Response 200
{
  "days": [
    {
      "date": "2026-08-27",
      "open": true,
      "slots": [
        {
          "start": "10:00",
          "end": "13:00",
          "capacity_left": 12,
          "cutoff_at": "2026-08-27T08:30:00+05:30"
        },
        {
          "start": "18:00",
          "end": "21:00",
          "capacity_left": 0
        }
      ]
    },
    { "date": "2026-08-28", "open": false, "reason": "closed" }
  ],
  "applied": { "lead_hours": 5, "unknown_skus": [] }
}
Tell us what is in the basket

Some products need more notice than others, and some are only made in certain windows. Repeat the sku parameter once per distinct product and those rules are applied: a mixed basket takes the longest notice any item needs, and only the windows every item allows. Omit sku and you get the store's default windows — which may cheerfully promise a slot a slow-to-make product cannot meet. applied.lead_hours tells you what was actually enforced, so you can explain to the customer why the early slots are gone.

A slot with capacity_left: 0 is full — show it disabled rather than hiding it, so the customer understands the day is real but that window has gone. Capacity is only committed when the order is created, so two customers can hold the last slot in their browsers; the second one to submit gets a clear error.

Create an order

The commitment point. Call this once payment has succeeded, or once a cash order is confirmed. The order appears on your Pobo board immediately.

POST/v1/orders

Hand a placed order to Pobo for fulfilment.

{
  "reference": "WEB-2026-004182",
  "order_number": "4182",
  "placed_at": "2026-08-27T11:58:03+05:30",
  "customer": {
    "name": "Ananya Rao",
    "phone": "+919812345678",
    "email": "ananya@example.com"
  },
  "drop": {
    "line1": "402, Lakeview Residency",
    "line2": "27th Main, Sector 2",
    "landmark": "Opposite BDA Complex",
    "city": "Bengaluru",
    "state": "Karnataka",
    "pincode": "560102",
    "country": "IN",
    "latitude": 12.9121,
    "longitude": 77.6446
  },
  "pickup_location_id": "loc_hsr",
  "payment": {
    "method": "cod",
    "total_paise": 90086,
    "gateway": "razorpay"
  },
  "delivery": {
    "mode": "local_delivery",
    "date": "2026-08-27",
    "slot_start": "18:00",
    "slot_end": "21:00",
    "quote_id": "qte_9x2c7Kd4"
  },
  "items": [
    {
      "sku": "CAKE-CHOC-1KG",
      "title": "Belgian Chocolate Cake, 1kg",
      "quantity": 1,
      "unit_price_paise": 74900,
      "properties": { "Message on cake": "Happy Birthday Meera" }
    },
    {
      "sku": "CANDLE-NUM-3",
      "title": "Number Candle — 3",
      "quantity": 2,
      "unit_price_paise": 5000
    }
  ],
  "weight_grams": 2400,
  "notes": "Ring the bell twice, baby asleep",
  "tags": ["birthday", "priority"],
  "dispatch": "auto"
}

Fields

FieldRequirementNotes
referenceRequiredYour own order id, and the id you use in every later call. Unique per store, not globally — two merchants may both use 1. Up to 48 characters of letters, numbers, dot, underscore, colon and hyphen; it travels in a URL, so spaces and slashes are refused. Sending it twice returns the existing order, not a second one.
order_numberOptionalThe short human number your staff and customer see. Shown on the board and in rider apps. Defaults to reference.
customer.nameRequiredWho the rider is looking for.
customer.phoneRequiredThe rider calls this number. E.164 with +91.
dropRequiredCoordinates strongly recommended. Without them Pobo geocodes the address, and an address it cannot place confidently is held for review rather than dispatched to a guessed pin. Required even for pickup — it is who is collecting and how to reach them.
pickup_location_idOptionalWhich of your outlets fulfils it. Omit if you have one location.
payment.methodRequiredprepaid or cod.
payment.total_paiseRequiredOn a cash order this is the amount the rider collects at the door. Get it wrong and the customer is asked for the wrong money.
delivery.modeRequiredlocal_delivery, pickup or shipping.
delivery.date / slot_*OptionalOmit for "as soon as possible". Supplied, they are the window Pobo works to — and where Pobo manages your calendar, they must match an open window and they hold capacity against it.
delivery.quote_idOptionalLocks the carrier and price the customer was shown.
itemsOptionalDrives the packing list, production planning and the value declared to couriers. Strongly recommended. properties carries per-line detail — a message on a cake, a chosen flavour, a gift note.
dispatchOptionalauto books a rider straight away. manual (the default) leaves the order on the board for a human to release.
Response 201 — created
{
  "reference": "WEB-2026-004182",
  "status": "pending",
  "delivery": {
    "mode": "local_delivery",
    "date": "2026-08-27",
    "slot_start": "18:00",
    "slot_end": "21:00"
  },
  "dispatch": { "state": "queued", "carrier": null },
  "created_at": "2026-08-27T11:58:04+05:30"
}
Response 200 — already existed
// Same reference, same content — or the same
// Idempotency-Key replayed. Nothing was created,
// nothing was booked twice. The body is the
// existing order.

{
  "reference": "WEB-2026-004182",
  "status": "under_process",
  ...
}

A 201 means Pobo owns the order. Everything after this point — carrier choice, retries when a carrier declines, rider assignment — is reported to you by webhook. You do not need to poll.

201 creates, 200 means it was already there

Retrying a request that timed out is safe: the same reference with the same content, or the same Idempotency-Key, returns the original order with a 200. The same reference with different content is a 409 — that is a mistake, not an update. To change an order, use amend.

Read an order

GET/v1/orders/{reference}

The full current state of one order — status, carrier, rider, timings and the delivery window.

{
  "reference": "WEB-2026-004182",
  "order_number": "4182",
  "status": "under_process",
  "delivery": {
    "mode": "local_delivery",
    "date": "2026-08-27",
    "slot_start": "18:00",
    "slot_end": "21:00"
  },
  "dispatch": {
    "state": "assigned",
    "carrier": "borzo",
    "carrier_reference": "BRZ-77401882",
    "price_paise": 5186,
    "tracking_url": "https://track.borzodelivery.com/BRZ-77401882"
  },
  "rider": {
    "name": "Suresh K",
    "phone": "+919845001122",
    "latitude": 12.9204,
    "longitude": 77.6390,
    "updated_at": "2026-08-27T18:22:10+05:30"
  },
  "timeline": {
    "accepted_at":        "2026-08-27T17:41:02+05:30",
    "rider_at_pickup_at": "2026-08-27T18:02:55+05:30",
    "shipped_at":         "2026-08-27T18:07:31+05:30",
    "delivered_at":       null,
    "cancelled_at":       null
  },
  "created_at": "2026-08-27T11:58:04+05:30"
}
GET/v1/orders

List orders, newest first. Paginated by cursor.

status         pending | under_process | completed | cancelled | undelivered | returned
date           2026-08-27        delivery date, not order date
updated_since  2026-08-27T00:00:00+05:30
limit          50                default 25, max 100
cursor         eyJpZCI6NDE4Mn0   from the previous response's next_cursor

Listing is for reconciliation — a nightly sweep to confirm your records match Pobo's. For live state, use webhooks: they arrive within seconds, where a poll is always behind. next_cursor is null on the last page, and is opaque — do not construct or decode one.

Amend an order

PATCH/v1/orders/{reference}

Correct an address, move a delivery window, or change the notes — before a rider has been booked.

Request
{
  "drop": {
    "landmark": "Gate 3, not Gate 1"
  },
  "delivery": {
    "date": "2026-08-28",
    "slot_start": "10:00",
    "slot_end": "13:00"
  },
  "notes": "Customer will be at the gate"
}
Amendable
drop           until dispatched
delivery       until dispatched
customer.phone until dispatched
notes          any time
tags           any time

items          not amendable — cancel
payment        and re-create instead

Send only what changes; anything you omit is left alone. Nothing inside drop is required, so correcting a landmark does not mean resending an address the customer already got right.

If the correction moves the destination, send the pin too

Changing the address text without changing latitude and longitude leaves the rider navigating to the old point. Pobo cannot tell whether a text edit was a clarification or a relocation, so it keeps the coordinates you last gave it.

Once a rider is on the way the delivery details are with the carrier, and an amendment would arrive too late to be honoured. Those requests return 409 order_already_dispatched; cancel and place a fresh order instead. Items and payment are never amendable — a changed basket is a different job, and silently re-pricing one would put the wrong amount in a rider's hand.

Dispatch

Book a rider. You only call this if the order was created with "dispatch": "manual" and you are releasing it from your own system rather than from the Panel board.

POST/v1/orders/{reference}/dispatch

Send the order to a carrier now.

Request
{
  "carrier": "borzo",
  "quote_id": "qte_9x2c7Kd4"
}
Response 200
{
  "reference": "WEB-2026-004182",
  "status": "under_process",
  "dispatch": {
    "state": "booked",
    "carrier": "borzo",
    "carrier_reference": "BRZ-77401882",
    "price_paise": 5186,
    "tracking_url": "https://track.borzodelivery.com/..."
  }
}

Both fields are optional. With no carrier, Pobo works down your configured preference and takes the first that accepts, so a carrier having a bad afternoon does not become your bad afternoon.

One order, one rider

Dispatch is idempotent per order. Calling it twice — a retry, a double click, a queue replay — never books two riders. The second call returns the booking the first one made.

When dispatch fails

A 422 names the stage that stopped it: the address could not be resolved, the drop is beyond your radius, a required field is missing, or no carrier would take the job. The order stays on your board marked unserviceable with the reason attached, so it is visible rather than lost. Fix the cause and call dispatch again.

A 503 means a carrier was unreachable and nothing was booked. It is safe to retry immediately, or to let Pobo fall through to the next carrier in your preference.

Tracking

GET/v1/orders/{reference}/tracking

Rider position and the event history — what you would put on your own order-status page.

{
  "reference": "WEB-2026-004182",
  "status": "under_process",
  "carrier": "borzo",
  "tracking_url": "https://track.borzodelivery.com/BRZ-77401882",
  "rider": {
    "name": "Suresh K",
    "phone": "+919845001122",
    "latitude": 12.9204,
    "longitude": 77.6390,
    "updated_at": "2026-08-27T18:22:10+05:30"
  },
  "events": [
    { "at": "2026-08-27T17:41:02+05:30", "code": "dispatch.booked",  "detail": "Booked with Borzo" },
    { "at": "2026-08-27T17:52:19+05:30", "code": "rider.assigned",  "detail": "Suresh K assigned" },
    { "at": "2026-08-27T18:07:31+05:30", "code": "rider.picked_up", "detail": "Collected from HSR Kitchen" }
  ]
}

Rider coordinates are available while a trip is live and stop being returned once it completes. Carriers report position at their own cadence — treat updated_at as the truth about freshness, and do not animate a marker between updates as though it were continuous.

Cancel

POST/v1/orders/{reference}/cancel

Stop the delivery. Cancels the carrier booking if one exists and releases any slot capacity the order was holding.

Request
{
  "reason": "Customer cancelled by phone"
}
Response 200
{
  "reference": "WEB-2026-004182",
  "status": "cancelled",
  "cancelled_at": "2026-08-27T18:31:44+05:30",
  "carrier_cancelled": true,
  "cancellation_fee_paise": 2500
}

A cancelled order keeps its full record — the carrier it went to, the rider who had it, every timestamp. Nothing is erased. That history is what you need when a carrier bills for a trip you cancelled, and it stays available through GET /v1/orders/{reference}.

Some carriers charge for a cancellation once a rider has been assigned. Where that happens cancellation_fee_paise tells you what will appear on your Pobo statement against this order. Cancelling an already-cancelled order is not an error — it returns the existing cancellation.

A carrier can refuse — most often because their rider is already at your counter. That comes back as 409 carrier_refused_cancel, and it is the one case where the order is not cancelled: it stays live, the rider is still coming, and you should hand the order over or call the carrier from the tracking link. Treat any other answer as final. Where the cancellation does go through and the order had been dispatched, the credits it debited are returned to your wallet automatically.

Webhooks

Pobo posts to one HTTPS endpoint of yours, configured in the Panel under Settings → Notifications. This is how you learn that a rider was assigned, that the parcel was collected, that it arrived — without asking.

Events

EventFires when
order.acceptedPobo has taken the order and it is on the board.
order.scheduledA delivery date and slot have been reserved.
dispatch.bookedA carrier accepted the job. Carries the carrier, its reference and the price.
rider.assignedA named rider is coming. Carries name and phone.
rider.picked_upThe order has left your counter.
order.deliveredHanded to the customer. The terminal success event.
order.undeliveredThe attempt failed — nobody home, refused, unreachable. Carries the carrier's reason.
order.cancelledCancelled by you, by the Panel, or by the carrier.
dispatch.failedNo rider could be booked. Carries the stage and reason, and the order stays on the board.

Payload

POST https://yourshop.example/hooks/pobo
X-Pobo-Event: rider.assigned
X-Pobo-Delivery: whd_4f1c8a730b6e
X-Pobo-Timestamp: 1787654321
X-Pobo-Signature: sha256=8b41c0f2d9e7a5...

{
  "event": "rider.assigned",
  "sent_at": "2026-08-27T17:52:19+05:30",
  "delivery_id": "whd_4f1c8a730b6e",
  "order": {
    "reference": "WEB-2026-004182",
    "order_number": "4182",
    "status": "under_process"
  },
  "dispatch": {
    "state": "assigned",
    "carrier": "borzo",
    "carrier_reference": "BRZ-77401882",
    "tracking_url": "https://track.borzodelivery.com/BRZ-77401882"
  },
  "rider": {
    "name": "Suresh K",
    "phone": "+919845001122"
  }
}

Verifying the signature

Compute HMAC-SHA256 over the exact bytes {timestamp}.{raw body} using your webhook secret from the Panel, and compare it to X-Pobo-Signature in constant time. Reject anything whose timestamp is more than five minutes old — that is what stops a captured request being replayed at you later.

Verify against the raw body

Sign the bytes as they arrived, before your framework parses the JSON. Parsing and re-serialising changes whitespace and key order, and the signature will then never match no matter how correct your code looks.

Delivery rules

  • Answer 2xx quickly. Acknowledge within ten seconds and do your work afterwards. A slow endpoint is treated as a failed one.
  • Retries. Anything other than a 2xx is retried with backoff over roughly six hours, then set aside. Failed deliveries are listed in the Panel and can be replayed by hand.
  • Expect duplicates. A retry can arrive after your handler already succeeded. Deduplicate on X-Pobo-Delivery, which also appears in the body as delivery_id.
  • Expect them out of order. Never infer state from arrival order — take it from order.status in the payload, which is authoritative at the moment of sending, or read the order back.

Statuses

An order has one status, and a dispatch state that describes the carrier leg beneath it.

Order statusMeaning
pendingWith Pobo, not yet handed to a carrier. Sitting on the board.
under_processA carrier has it. Rider assigned, collected, or on the way.
completedDelivered.
undeliveredAttempted and failed. Needs a decision — retry, reschedule or return.
returnedCame back to you.
cancelledStopped before delivery. The record is kept in full.
Dispatch stateMeaning
noneNot released yet — waiting on you or on its slot.
queuedReleased; Pobo is working through your carrier preference.
bookedA carrier accepted. No named rider yet.
assignedA rider is named and on the way to you.
picked_upOut for delivery.
failedNo carrier took it. The reason is on the order.
These need not be your statuses

Most merchants already have their own — "confirmed", "baking", "packed". Keep them. Map Pobo's onto yours where they are useful and ignore the rest; nothing in this API requires your customer to see our vocabulary.

Errors

Every failure returns application/problem+json, the standard problem format defined by RFC 9457 — the same shape Stripe, GitHub and Cloudflare return, so a library you already have will very likely read it.

HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json

{
  "type": "https://pobo.app/problems/beyond-max-distance",
  "title": "Outside your delivery radius",
  "status": 422,
  "detail": "The drop address is 18.4 km from HSR Kitchen; your delivery radius is 12 km.",
  "instance": "/api/v1/orders/WEB-2026-004182/dispatch",
  "code": "beyond_max_distance",
  "errors": [
    { "field": "drop", "issue": "distance_km=18.4 exceeds max_distance_km=12" }
  ]
}
FieldWhat it is for
typeA stable identifier for this kind of problem, and a link to its documentation. Safe to branch on.
codeThe same identity in snake_case, so branching does not mean parsing a URL. Safe to branch on.
titleA short human summary. May be reworded — do not branch on it.
detailWhat went wrong in this specific case, with the real numbers in it. Written for a developer reading logs, not for your customer.
instanceThe request this refers to. Quote it when reporting a problem to us.
errorsField-level detail on validation failures. Each entry names a dotted path and what is wrong with it.
HTTPCodeWhat to do
401unauthenticatedMissing, malformed or revoked token.
403pobo_disabledDelivery is switched off for your store in the Panel. Switch it on there.
402insufficient_creditsYour Pobo wallet cannot cover the booking. Carries balance_paise and required_paise. Top up; the order is kept.
404order_not_foundNo order with that reference on your store.
409duplicate_referenceThat reference already exists with different content.
409order_already_dispatchedToo late to amend. Cancel and re-create.
409carrier_refused_cancelThe carrier would not stand the rider down — usually because they are already at your counter. The order is unchanged and still live. Hand it over when they arrive, or call the carrier from the tracking link.
409slot_fullThat window filled while the customer was checking out. Offer another.
409idempotency_key_reusedThe same key was sent with a different body.
422validation_failedA field is missing or malformed. errors names each one.
422address_unresolvableThe address could not be placed on the map. Ask for a landmark or coordinates.
422beyond_max_distanceOutside your delivery radius. Offer pickup or courier shipping.
422out_of_zoneAddress is outside the cities or pincodes you serve.
422no_carrier_availableNo enabled carrier would take the job. Retry later or dispatch from the board.
429rate_limitedBack off. Retry-After says how long.
503carrier_unavailableA carrier is down. Nothing was booked. Safe to retry — dispatch is idempotent.

Rate limits

Limits are per token, per minute. Every response tells you where you stand, in the standard structured format:

RateLimit-Policy: "quotes";q=120;w=60
RateLimit: "quotes";r=118;t=42

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 118
X-RateLimit-Reset: 42

q is the quota and w the window in seconds; r is what you have left and t the seconds until it resets. The X-RateLimit-* headers carry the same numbers and are kept for older clients — read whichever your stack finds easier.

Endpoint groupPer minuteWhy
Serviceability, delivery windows, store600Called on every address entry; generous by design.
Quotes120Each quote asks live carriers. Cache a quote for the fifteen minutes it is valid.
Orders, dispatch, cancel120These act in the real world.
Reads and listing300Use webhooks for live state rather than polling.

What you do in the Panel

The API places orders. The Panel is where your day is run — and for a custom-website merchant it works exactly as it does for any other, because it reads Pobo's own records rather than any storefront's.

  • The board — every order for a day, in columns by state, grouped into trips. Drag an order onto a trip to send it with the others; release a trip when the food is ready.
  • Planning — what has to be made before each slot, totalled across orders, so the kitchen works from one list.
  • Live tracking — where each rider is, and which orders are late.
  • Settings you own — pickup locations, delivery radius, carriers and their order, delivery calendar and slots, cut-off times, your webhook endpoint and your API tokens.
  • Statement — what each delivery cost, per carrier, per day.

Anything you can do through the API you can also do by hand here — release a dispatch, switch a carrier, cancel, reschedule. Merchants normally let the API place orders automatically and keep dispatch on the board, where a person can see the whole afternoon before committing riders.

Going live

  • Get sandbox credentials — ask your Pobo contact. You get a Panel login, a pobo_test_ token and a sandbox store already configured with a pickup location.
  • Configure the store first — pickup address and coordinates, delivery radius, carriers, calendar and slots. Quotes answer from these; an unconfigured store correctly refuses to quote anything. Call /v1/store until readiness.ready is true.
  • Build the read path — serviceability, quotes and windows. Nothing here creates anything, so it is safe to hammer while you develop.
  • Then the write path — create an order, watch it land on the sandbox board, dispatch it, and follow the mock rider to delivery.
  • Then webhooks — point them at a tunnel, verify the signature, and confirm you handle duplicates and out-of-order arrival.
  • Switch to live — same code, a pobo_live_ token and the live base URL. Run one real order to your own address before you open the tap.
One thing worth testing deliberately

Place an order to an address just outside your radius, and one into a slot you have filled. Those two rejections are the ones your customers will meet on a busy Saturday, and they are much better handled in your checkout than at your counter.

Versions & changes

The major version is in the path and never moves under you. Within /v1 we only make additive changes — a new optional request field, a new field in a response, a new event, a new error code — so parse leniently: ignore fields you do not recognise rather than rejecting the payload, and treat an unknown event or error code as one to log rather than crash on.

ChangeWhat happens
New optional field, event or error codeAdded to /v1 without notice. Safe if you parse leniently.
Anything that could break a working integrationNever done inside a major version. It becomes /v2.
A new major version/v1 and /v2 run side by side. You move when you are ready, not when we ship.
Retiring a versionAnnounced by email and by a Sunset header on every response, with a link to the migration guide, well before the date.
While this is still a draft

Until v1 reaches general availability the contract can still change in ways that would otherwise be breaking — that is what the draft label means. Every such change is announced directly to every merchant holding a sandbox key, with the reason and the migration, before it lands. Nothing changes silently. Ask your Pobo contact where v1 currently stands and what is planned before it opens generally.