Delivery API

Delivery API

Send an order, a bot carries it from pickup to dropoff.

Markdown

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.

  1. 01pendingWaiting for a bot
  2. 02going_to_pickupHeading to pickup
  3. 03at_pickupLoading
  4. 04going_to_dropoffOn the way
  5. 05at_dropoffUnloading
  6. 06deliveredDone

How it works

  1. Register your places once: a location and its points.
  2. Create a delivery with a pickup, a dropoff and its packages.
  3. REMI assigns a free bot and starts it. Follow it by polling or with webhooks.
  4. At the pickup, staff load the bot. At the dropoff, the customer takes the order.

The calls you will use

CallWhen
POST /deliveryCreate a delivery.
GET /delivery/{id}Read it.
POST /delivery/{id}/load/start, /load/finishAt the pickup: open the door, then confirm the load.
POST /delivery/{id}/unload/start, /unload/finishAt the dropoff: open the door, then confirm the hand-off.
POST /delivery/{id}/cancelCall 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.