Skip to content

Get Order

GET {{BASE_HABITAT_URL}}/api/v3/orders/{{ORDER_ID}}

Required scope: orders:read

No description is available yet.

Terminal window
curl --request GET '${BASE_HABITAT_URL}/api/v3/orders/${ORDER_ID}'
{
"type": "success",
"data": {
"id": "9bbd8313-da38-4b04-b14f-3cbd9a92312a",
"quote_id": "8a5a9bd0-ad7b-11ed-a9f4-f959336bb66d",
"external_order_id": "c05f04df-79bf-48fe-b696-53d815481d32",
"external_order_reference": null,
"dsps_delivery_id": null,
"_request_id": "fake:dcbf7185-20f7-4cef-9c63-1d84824d7c09",
"dsps_name": null,
"created_at": "2023-02-15T21:56:05.697Z",
"status": "completed",
"method": "Delivery",
"timezone": "America/New_York",
"partner_name": "olo",
"pickup_name": "Tacodeli Gracy Farms",
"pickup_address": "26 Broadway, New York, NY 10004, USA",
"pickup_phone": "2333322311",
"pickup_instructions": null,
"pickup_lat": 40.7052022,
"pickup_lng": -74.0131655,
"dropoff_lat": 40.7056311,
"dropoff_lng": -74.0131104,
"route_distance_miles": 0.79,
"crow_flies_distance_miles": 0.03,
"dropoff_address": "28 Broadway, New York NY, 10004",
"dropoff_suite": null,
"dropoff_instructions": " I want contactless delivery",
"customer_name": "MICHAEL PASZKIEWICZ",
"customer_phone": "4433869479",
"payment_type": "online",
"pickup_estimate": "2023-02-15T22:40:00.000Z",
"dropoff_estimate": "2023-02-15T23:00:00.000Z",
"runner_assigned_at": "2023-02-15T22:40:54.000Z",
"runner_accepted_at": "2023-02-15T22:41:12.927Z",
"runner_arrived_origin": "2023-02-15T22:41:41.382Z",
"runner_picked_up": "2023-02-15T22:41:57.424Z",
"runner_arrived_dropoff": "2023-02-15T22:56:15.459Z",
"runner_dropped_off": "2023-02-15T23:00:06.776Z",
"cancelled_at": null,
"contents": [
{
"itemName": "Foosburger",
"quantity": 1
}
],
"tip": 3,
"order_total": 5.99,
"runner": {
"id": "c3ae4462-eb20-4165-a2f7-f8164ce2118e",
"name": "test",
"phone": "1231231116"
},
"merchant_id": "49d7d331-a19a-11ed-9fff-dff3e2e96892",
"runner_id": "c3ae4462-eb20-4165-a2f7-f8164ce2118e",
"skip_routing_strategy": false,
"diner_delivery_fee": null,
"runner_commission": 3.25,
"billable_merchant_fee": null,
"dsps_delivery_fee": null,
"dropoff_image": "https://example.com/img.jpg"
}
}