food-orders / #97
- userId
-
Clyde Bernier-Gleason @clyde_bernier-gleason6
- restaurantId
- Grimes, Durgan and Grady · Fort Estelfield · ★ 4.0
- items
-
[ { "menuItemId": 1117, "quantity": 3, "unitPrice": 52.65, "lineTotal": 157.95 }, { "menuItemId": 1124, "quantity": 2, "unitPrice": 29.23, "lineTotal": 58.46 }, { "menuItemId": 1125, "quantity": 2, "unitPrice": 77.03, "lineTotal": 154.06 }, { "menuItemId": 1116, "quantity": 3, "unitPrice": 51.83, "lineTotal": 155.49 }, { "menuItemId": 1119, "quantity": 2, "unitPrice": 70.08, "lineTotal": 140.16 } ] - subtotal
- 666.12
- deliveryFee
- 2.08
- tip
- 3.96
- total
- 672.16
- currency
- USD
- status
- out_for_delivery
- placedAt
- deliveredAt
- —
Component variants
Medium
#97
#97
Small
food-orders/97 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/97" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/97"
);
const foodOrder = await res.json();import type { FoodOrder } from "https://example-data.com/types/food-orders.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/food-orders/97"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/97"
)
food_order = res.json() {
"id": 97,
"userId": 143,
"restaurantId": 76,
"items": [
{
"menuItemId": 1117,
"quantity": 3,
"unitPrice": 52.65,
"lineTotal": 157.95
},
{
"menuItemId": 1124,
"quantity": 2,
"unitPrice": 29.23,
"lineTotal": 58.46
},
{
"menuItemId": 1125,
"quantity": 2,
"unitPrice": 77.03,
"lineTotal": 154.06
},
{
"menuItemId": 1116,
"quantity": 3,
"unitPrice": 51.83,
"lineTotal": 155.49
},
{
"menuItemId": 1119,
"quantity": 2,
"unitPrice": 70.08,
"lineTotal": 140.16
}
],
"subtotal": 666.12,
"deliveryFee": 2.08,
"tip": 3.96,
"total": 672.16,
"currency": "USD",
"status": "out_for_delivery",
"placedAt": "2025-07-02T15:14:38.613Z",
"deliveredAt": null
}