We've introduced several new endpoints to interact with your EasyRoutes stops, routes, and drivers using our native APIs:
- CreateRoute: Create a new route via the API. Optionally specify select route options (route name, route scheduling, and speed factor) as well as route constraints (max duration, max stops, max weight, and toll or U-turn avoidance). Requires a valid address for start/end locations; optionally supports lat/long overrides for start/end locations.
- AssignRouteDriver / UnassignRouteDriver: Assign or un-assign a driver to a route by route ID.
- DispatchRoute / UndispatchRoute: Dispatch or un-dispatch a route to its assigned driver (or as a claimable dispatch link for routes without an assigned driver) by route ID.
For more details on configuring and working with each of these new EasyRoutes API endpoints, refer to the support documentation linked to each of the endpoint titles above.
We've also made some improvements to existing API behaviour, including:
- API-derived Route responses now include a dispatchedUntil timestamp indicating the route's current dispatch status and expiry.
- The ReoptimizeRoute endpoint now optionally supports additional criteria (ignore completed stops; ignore route constraints) when re-optimizing routes via the EasyRoutes API.
Full details, sample responses, and reference documentation for working with our API can be found in the Developers / API section of the EasyRoutes support portal.