Delivery API
Pickup-only orders
Orders the customer collects, with no bot.
A pickup-only order has no bot and no dropoff: the customer collects it. REMI follows the preparation and the hand-off, and gives the customer a tracking page.
- 01
pendingCreated - 02
preparingBeing prepared - 03
ready_for_pickupReady at the counter - 04
picked_upCollected
Create one
JSON
{
"mode": "pickup_only",
"external_id": "order-4821",
"pickup": { "external_id": "kitchen-north", "contact": { "name": "Noah", "phone": "+573001234567" } },
"packages": [{ "reference": "bag-1", "items": [{ "name": "Cheeseburger", "quantity": 1 }] }],
"options": { "tracking": { "notify": { "sms": true } } }
}pickupmust be a registered point. There is nodropoff.- For text or email updates, put the customer's phone or email on
pickup.contact. The point's own contact is never notified.
Move it along
| Call | Moves to |
|---|---|
POST /delivery/{id}/preparation/start | preparing |
POST /delivery/{id}/preparation/finish | ready_for_pickup |
POST /delivery/{id}/pickup/confirm | picked_up |
Each call is safe to repeat. The customer can also confirm the pickup from the tracking page.
Several stations
With packages at several stations, call preparation/finish and pickup/confirm once per station, with { "station": "..." }. The order is ready_for_pickup when every station is ready, and picked_up when every station handed over. Without a target, a multi-station order answers 400.