Optimize route
upper_optimize_routeWRITE: start optimizing a route's stop order. The route needs at least one stop and one assigned driver (upper_assign_drivers). It runs asynchronously: this returns status pending and a queue_id, then poll upper_get_optimization_status. If a job is already running, that job is returned. POST /ext-optimize-route.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route_id | Yes | The route to optimize. | |
| timezone | No | IANA timezone for the optimization, for example America/New_York. |