Delivery API
Delivery API
Send an order, a bot carries it from pickup to dropoff.
A delivery is one order a robot carries from a pickup to a dropoff. You create it; REMI assigns a bot, drives it, and reports every step.
- 01
pendingWaiting for a bot - 02
going_to_pickupHeading to pickup - 03
at_pickupLoading - 04
going_to_dropoffOn the way - 05
at_dropoffUnloading - 06
deliveredDone
How it works
- Register your places once: a location and its points.
- Create a delivery with a pickup, a dropoff and its packages.
- REMI assigns a free bot and starts it. Follow it by polling or with webhooks.
- At the pickup, staff load the bot. At the dropoff, the customer takes the order.
The calls you will use
| Call | When |
|---|---|
POST /delivery | Create a delivery. |
GET /delivery/{id} | Read it. |
POST /delivery/{id}/load/start, /load/finish | At the pickup: open the door, then confirm the load. |
POST /delivery/{id}/unload/start, /unload/finish | At the dropoff: open the door, then confirm the hand-off. |
POST /delivery/{id}/cancel | Call it off. |
Everything else is in the API reference.
Two kinds of delivery
standard: a bot delivers it. The default.pickup_only: the customer collects it at the counter, with no bot. See Pickup-only orders.