Creates a consolidation plan that groups multiple orders into optimized pickup and delivery stops. The consolidation strategy determines how time windows are handled when multiple orders share the same location.
Successfully generated stop consolidation plan
Default error response
Default error response
Default error response
{- "consolidation_strategy": "SEPARATE",
- "create_unique_stops_for_each_order": false,
- "order_ids": [
- "string"
]
}[- {
- "order_ids": [
- "string"
], - "ordinal_index": 0,
- "stop_data": {
- "is_dropoff": true,
- "is_pickup": true,
- "location": {
- "address": {
- "address_1": "string",
- "address_2": "string",
- "city": "string",
- "country": "string",
- "latitude": 0.1,
- "longitude": 0.1,
- "postal_code": "string",
- "state_province": "string",
- "timezone": "string"
}
}, - "order_ids": [
- "string"
], - "ordinal_index": 0,
- "planned_date": "2019-08-24",
- "planned_time_window_end": "14:15:22Z",
- "planned_time_window_start": "14:15:22Z",
- "planning_window": {
- "end": "2019-08-24T14:15:22Z",
- "start": "2019-08-24T14:15:22Z"
}
}
}
]