food-orders / #141
- userId
-
Jameson Considine @jameson.considine1
- restaurantId
- Walsh LLC · Predovicville · ★ 4.8
- items
-
[ { "menuItemId": 1448, "quantity": 2, "unitPrice": 50.38, "lineTotal": 100.76 }, { "menuItemId": 1445, "quantity": 3, "unitPrice": 20.38, "lineTotal": 61.14 }, { "menuItemId": 1446, "quantity": 4, "unitPrice": 57.38, "lineTotal": 229.52 } ] - subtotal
- 391.42
- deliveryFee
- 2.06
- tip
- 1.72
- total
- 395.2
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#141
#141
Small
food-orders/141 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/141" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/141"
);
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/141"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/141"
)
food_order = res.json() {
"id": 141,
"userId": 236,
"restaurantId": 100,
"items": [
{
"menuItemId": 1448,
"quantity": 2,
"unitPrice": 50.38,
"lineTotal": 100.76
},
{
"menuItemId": 1445,
"quantity": 3,
"unitPrice": 20.38,
"lineTotal": 61.14
},
{
"menuItemId": 1446,
"quantity": 4,
"unitPrice": 57.38,
"lineTotal": 229.52
}
],
"subtotal": 391.42,
"deliveryFee": 2.06,
"tip": 1.72,
"total": 395.2,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-05-19T23:44:00.165Z",
"deliveredAt": "2025-05-20T02:50:41.192Z"
}