Skip to main content

Get Delivery Driver Routes

GET 

/delivery/routes

This endpoint retrieves each driver's route for the requested days, with the stops in the order the driver does them. The order is the one the Delivery web interface shows for the route: stops already completed, arrived at or started come first, in the order they happened, then the remaining stops in the order saved by the last optimisation or manual reorder.

There is one route per driver per calendar day. The days are counted in the offset of filter[from_ts], from 00:00:00 to 23:59:59, and a day at either end of the range is cut at the range's bounds. When the account shows previous days in the Delivery web interface, today's route also holds the unfinished stops of those days.

Stops of a plan that has not been confirmed yet are not returned. Use GET /delivery/jobs for the full job details of a stop, matching on job_id or stop_id.

Request​

Responses​

Successful operation