Orders

Batch and Sequence Orders

Post a sequence of orders to be planned either manually or automatically by HyperTrack. For automatic planning, please contact the HyperTrack team to get set up.

post/orders/

Request

Request body

ops_group_handlestring nullable

Unique Handle of Ops Group to plan orders for

plan_mode'on_demand' | 'scheduled' | 'manual' required
  • scheduled mode allows customers to batch and sequence future orders into routes for worker based on their availability. This mode operates only on the upcoming routes (if exist), but does not re-plan ongoing routes.
  • manual mode allows customers to ingest orders into HT which are to be planned manually.<ul> <li> If worker_handle is provided, hypertrack will create a new route for the specified worker with the posted orders in the provided sequence.</li> <li> In case worker_handle is not given, then hypertrack will ingest orders into system to facilitate further planning.</li></ul>
  • on_demand mode is to facilitate the use case where an order needs to be planned on top of an existing plan, here <ul><li> if worker_handle is provided, then the order will be assigned to that worker, either optimally adjusted into his/her existing route (if present) OR a new route is created for the worker.</li> <li> If worker_handle is not provided, then the order either gets adjusted to one of the available worker's route in the most optimal manner OR is added to a new route. In both scenarios, order planning makes sure Order SLAs are met. On demand mode works for future as well as live routes.</li></ul>
driver_handlestring nullable

Driver handle to which order will be assigned to.

worker_handlestring nullable

Worker handle to which order will be assigned to.

enable_sync_planningboolean nullable

Flag to enable synchronous planning when the plan mode is on_demand. For scheduled mode, planning is always performed asynchronously.

route_solver_matrix_strategy'osrm_full' | 'als_full' | 'hybrid_sparse'

Strategy to use for route solver. Options: osrm_full, als_full, hybrid_sparse

Response

One of OrderListResponse or PlanResponse

OR
OR

Changes

No recorded changes to this operation across all 1 revision of this API.