Move stops on route

You may have noticed that the stop on a route is in the order they were added. What if that is not the order you want? For this there are two options.

Navigate to new stop

The Set Next Stop endpoint allows you to specify which stop should be the next on the route. It moves every other stop back to make room, so you could order your route by setting them from last to first. This endpoint also works on routes that have been started and allows for on-the-fly changes in the route.

Set depot as next stop

If your driver needs to go to a depot or waste station earlier than planed, if e.g. the amount of waste picked up was greater than expected and the trailer is full, then Set Next Stop To Depot is the endpoint to use. Rather than moving stops around, this endpoint adds a stop as the specified depot type as the next stop on the route.