Save order plan (dispatch orders to drivers)
cxt_save_order_planCOMMIT an order plan: assigns the orders to the drivers and DISPATCHES them (drivers receive the work in the driver app; customers may be notified by the system's own status rules). Use only after the user has seen and approved the plan from cxt_plan_orders / cxt_optimize_order_plan. Pass each driver's stops from the plan reply: id, type (PICKUP or DELIVERY), sequence and from (the scheduled time). Response is empty on success (204). Needs ITINERARY_PLANNING_ACCESS. POST /v3/ItineraryPlanning/Orders/Save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plans | Yes | ||
| confirm | Yes | Must be true: the user approved this plan and wants it dispatched to the drivers now. | |
| driver_pay_locked_status | No | What to do with already locked driver pay: KEEP_LOCKED_AND_DISPATCH or UNLOCK_AND_DISPATCH. |