Disable Order
Disable an order identified by the given order_handle. This will recompute the ETA by excluding this order in the route
In: header
Path Parameters
Query Parameters
Type of the order which can be drop or pick
Integer representing the pick or drop order index when having a pick/drop scenario
The attempt number for fulfilling the order
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/orders/string/disable" \ -H "Content-Type: application/json" \ -d '{}'{ "order_handle": "order-1", "fulfillment_attempt": 0, "status": "disabled", "destination": { "geometry": { "type": "Point", "coordinates": [ -121.8610066, 37.3263062 ] }, "address": "748 Story Rd, San Jose, CA 95112", "radius": 100 }, "ops_group_handle": "store-sf", "track_mode": "full_shift", "plan_mode": "manual", "scheduled_at": "2023-10-26T02:30:00.000Z", "started_at": "2023-10-26T01:28:22.016Z", "type": "drop", "type_index": 0, "expected_service_time": 0, "capacity_used": 1, "metadata": { "customerID": "12654" }, "region": { "country": "United States", "city": "San Jose", "state": "California" }, "share_url": "https://trck.at/gv2oZRGKqB", "disabled_at": "2023-10-26T01:30:16.655Z", "device_id": "52193948-1A79-47CC-AB81-2FB0A59536D1", "worker_handle": "James", "created_at": "2023-10-25T17:54:42.233Z", "assigned_at": "2023-10-26T01:27:40.170Z", "route_handle": "812a1ea5-8c1e-407a-ba24-6cc46d783fef", "plan_id": "0f3415f2-63b7-4727-83d2-010e88b48715", "estimate": { "start_by": "2023-10-26T02:17:39.000Z", "arrive_at": "2023-10-26T01:42:51.821Z", "polyline": { "type": "LineString", "coordinates": [ [ -121.88604, 37.39095 ], [ -121.88548, 37.39126 ], [ -121.88531, 37.3913 ], [ -121.88513, 37.39153 ], [ -121.88509, 37.39158 ], [ -121.88509, 37.39158 ], [ -121.88424, 37.39117 ], [ -121.88398, 37.39104 ], [ -121.88382, 37.39093 ], [ -121.88367, 37.39078 ], [ -121.88358, 37.39062 ], [ -121.88355, 37.39052 ], [ -121.8834, 37.39007 ], [ -121.88323, 37.38956 ], [ -121.88312, 37.38922 ], [ -121.88303, 37.38896 ], [ -121.883, 37.38888 ], [ -121.8829, 37.38864 ], [ -121.8829, 37.38863 ], [ -121.88284, 37.38851 ], [ -121.88264, 37.38816 ], [ -121.88259, 37.38805 ], [ -121.88259, 37.38805 ], [ -121.88251, 37.38791 ], [ -121.8823, 37.38799 ], [ -121.88212, 37.38807 ], [ -121.88195, 37.38815 ], [ -121.8818, 37.38825 ], [ -121.88165, 37.38835 ], [ -121.88147, 37.3885 ], [ -121.88139, 37.38865 ], [ -121.88125, 37.38872 ], [ -121.88107, 37.38892 ], [ -121.88074, 37.38926 ], [ -121.8796, 37.39044 ], [ -121.87951, 37.39053 ], [ -121.87939, 37.39066 ], [ -121.87936, 37.39069 ], [ -121.8792, 37.39085 ], [ -121.87912, 37.39094 ], [ -121.87903, 37.39103 ], [ -121.87892, 37.39115 ], [ -121.87867, 37.3914 ], [ -121.87852, 37.39156 ], [ -121.87812, 37.39197 ], [ -121.87773, 37.39241 ], [ -121.87769, 37.39246 ], [ -121.87731, 37.39279 ], [ -121.8766, 37.39325 ], [ -121.87654, 37.39329 ], [ -121.87649, 37.39332 ], [ -121.87617, 37.39354 ], [ -121.87608, 37.3936 ], [ -121.876, 37.39366 ], [ -121.87559, 37.39395 ], [ -121.87521, 37.39422 ], [ -121.87521, 37.39422 ], [ -121.87489, 37.39434 ], [ -121.87481, 37.39437 ], [ -121.87471, 37.39439 ], [ -121.8747, 37.3944 ], [ -121.87463, 37.3944 ], [ -121.87454, 37.39441 ], [ -121.87446, 37.39441 ], [ -121.87437, 37.3944 ], [ -121.87429, 37.39438 ], [ -121.87421, 37.39436 ], [ -121.87413, 37.39432 ], [ -121.87407, 37.39427 ], [ -121.87401, 37.39422 ], [ -121.87328, 37.39346 ], [ -121.87289, 37.39308 ], [ -121.87264, 37.39285 ], [ -121.87241, 37.39264 ], [ -121.87194, 37.39227 ], [ -121.87103, 37.39154 ], [ -121.86896, 37.38989 ], [ -121.86896, 37.38989 ], [ -121.8675, 37.38856 ], [ -121.86335, 37.3847 ], [ -121.86195, 37.38342 ], [ -121.86086, 37.38239 ], [ -121.8599, 37.38148 ], [ -121.85871, 37.38032 ], [ -121.85847, 37.38008 ], [ -121.85526, 37.37692 ], [ -121.85177, 37.3734 ], [ -121.85124, 37.37287 ], [ -121.84728, 37.369 ], [ -121.84693, 37.36865 ], [ -121.84657, 37.36826 ], [ -121.84618, 37.3678 ], [ -121.8458, 37.3673 ], [ -121.84547, 37.36683 ], [ -121.84514, 37.36633 ], [ -121.84366, 37.36374 ], [ -121.84331, 37.36315 ], [ -121.8419, 37.36083 ], [ -121.83892, 37.35586 ], [ -121.83878, 37.35562 ], [ -121.83864, 37.35538 ], [ -121.8384, 37.35477 ], [ -121.83827, 37.35448 ], [ -121.83815, 37.35406 ], [ -121.83807, 37.3536 ], [ -121.83805, 37.35312 ], [ -121.83803, 37.3529 ], [ -121.83804, 37.35266 ], [ -121.83808, 37.35237 ], [ -121.83812, 37.35202 ], [ -121.83819, 37.35165 ], [ -121.8383, 37.35125 ], [ -121.83847, 37.35079 ], [ -121.83866, 37.35039 ], [ -121.8389, 37.34998 ], [ -121.83914, 37.34961 ], [ -121.83943, 37.34925 ], [ -121.8397, 37.34894 ], [ -121.83991, 37.34873 ], [ -121.84015, 37.34852 ], [ -121.8406, 37.34815 ], [ -121.84205, 37.34701 ], [ -121.84429, 37.34518 ], [ -121.84493, 37.34467 ], [ -121.84546, 37.34426 ], [ -121.84637, 37.34354 ], [ -121.84672, 37.34325 ], [ -121.84746, 37.34267 ], [ -121.84799, 37.34229 ], [ -121.8486, 37.34187 ], [ -121.84895, 37.34165 ], [ -121.84921, 37.3415 ], [ -121.84945, 37.34134 ], [ -121.85024, 37.34086 ], [ -121.85099, 37.34039 ], [ -121.85168, 37.33999 ], [ -121.85205, 37.33976 ], [ -121.85241, 37.33954 ], [ -121.85674, 37.33688 ], [ -121.857, 37.33672 ], [ -121.85723, 37.33658 ], [ -121.85755, 37.33639 ], [ -121.85826, 37.33597 ], [ -121.85888, 37.33559 ], [ -121.86067, 37.3345 ], [ -121.86083, 37.3344 ], [ -121.86137, 37.33406 ], [ -121.86482, 37.33189 ], [ -121.86607, 37.33111 ], [ -121.86766, 37.33014 ], [ -121.86812, 37.32987 ], [ -121.86851, 37.32966 ], [ -121.86851, 37.32966 ], [ -121.86877, 37.32966 ], [ -121.869, 37.32957 ], [ -121.86935, 37.32944 ], [ -121.86977, 37.3293 ], [ -121.87043, 37.32908 ], [ -121.87051, 37.32907 ], [ -121.87078, 37.329 ], [ -121.87104, 37.32894 ], [ -121.87121, 37.32891 ], [ -121.87129, 37.32889 ], [ -121.87142, 37.32886 ], [ -121.87173, 37.32881 ], [ -121.87186, 37.32879 ], [ -121.87204, 37.32876 ], [ -121.87214, 37.32874 ], [ -121.87214, 37.32874 ], [ -121.87207, 37.32863 ], [ -121.87185, 37.32834 ], [ -121.87154, 37.32791 ], [ -121.87149, 37.32785 ], [ -121.871, 37.3272 ], [ -121.87096, 37.32715 ], [ -121.87091, 37.32708 ], [ -121.87091, 37.32708 ], [ -121.87082, 37.32696 ], [ -121.86993, 37.32577 ], [ -121.86988, 37.32571 ], [ -121.86983, 37.32565 ], [ -121.86951, 37.32521 ], [ -121.86908, 37.32463 ], [ -121.86885, 37.32432 ], [ -121.86878, 37.32423 ], [ -121.86878, 37.32423 ], [ -121.86868, 37.32427 ], [ -121.86858, 37.32433 ], [ -121.86843, 37.3244 ], [ -121.86836, 37.32443 ], [ -121.86831, 37.32446 ], [ -121.86821, 37.32451 ], [ -121.86785, 37.32469 ], [ -121.86783, 37.3247 ], [ -121.86775, 37.32474 ], [ -121.86761, 37.32475 ], [ -121.86714, 37.32496 ], [ -121.86706, 37.325 ], [ -121.86669, 37.32518 ], [ -121.8665, 37.32527 ], [ -121.86642, 37.32531 ], [ -121.86624, 37.3254 ], [ -121.86578, 37.32562 ], [ -121.86567, 37.32568 ], [ -121.86567, 37.32568 ], [ -121.86557, 37.32573 ], [ -121.86551, 37.32576 ], [ -121.86535, 37.32583 ], [ -121.86502, 37.32596 ], [ -121.86315, 37.32666 ], [ -121.86175, 37.32732 ], [ -121.86175, 37.32732 ] ] }, "distance": 12781, "duration": 741, "start_location": { "type": "Point", "coordinates": [ -121.8871193, 37.390611 ] }, "end_location": { "type": "Point", "coordinates": [ -121.8610066, 37.3263062 ] } }, "visited_destination": false, "timeline": []}{ "title": "string", "detail": "string"}{ "code": "string", "title": "string", "detail": "string"}{ "code": "string", "title": "string", "detail": "string"}Update Route PATCH
Update the route metadata, or the route times. `scheduled_start_at` can change only before the route starts tracking. `auto_complete_at` can change only on a shift route (one created with `scheduled_start_at` or `tracking_window: shift`), until the route completes; on another route it returns 400. On a shift route the limits of `POST /orders/track` apply: `scheduled_start_at` is at most 24 hours in the past, `auto_complete_at` is in the future, after the start, and at most 24 hours after it. Another open shift route of the same worker at the new times returns 409 (`shift_overlap`). A route whose `auto_complete_at` has passed returns 409 (`shift_ended`). When a time changes, later edits of the worker or ops group schedule do not move the route. Times equal to the stored ones change nothing.
Get Order Webhooks GET
API to fetch webhooks sent for an order