Plan orders onto drivers
cxt_plan_ordersGenerate a proposed itinerary that assigns on-demand orders to drivers (pickup and delivery stops in sequence, with times, distance and unassigned stops). This only PROPOSES a plan: nothing is dispatched until cxt_save_order_plan is called. Needs ITINERARY_PLANNING_ACCESS. Check the limits with cxt_get_planning_limits first. POST /v3/ItineraryPlanning/Orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | Optimization goal (default QUICKEST_ROUTE). | |
| end_time | Yes | Planning window end, local time, e.g. 2026-10-01T18:00:00. | |
| order_ids | Yes | Order ids to plan. | |
| driver_ids | Yes | Driver ids to plan onto. | |
| start_time | Yes | Planning window start, local time, e.g. 2026-10-01T08:00:00. | |
| enhanced_routing | No | Enhanced routing (default OFF). | |
| num_placeholders | No | Virtual placeholder drivers (0-1000). | |
| max_orders_per_driver | No |