Update single route (id)

Re-calculates times and delivery orders of an existing time window optimized route based on current delays and traffic conditions.
It generates a new route based on existing unfinished (not yet delivered or canceled) deliveries of the route with the given ID. Additionally, it may consume one or both optional ID lists of new deliveries and/or deleted deliveries as body parameter and calculates a route containing "old" and "new" deliveries combined minus the newly deleted deliveries.
It also sets the status of the "old" route to "route_replaced" and sets the field "replaced_by" to the ID of the new calculated route. Already delivered or canceled delivery objects will not be re-calculated or re-ordered. Notice: All new deliveries must start from the same location (depot) than all already existing ones on the updated route.

Language
Authentication
Header