food-orders / #3
- userId
-
Everett Yundt @everett_yundt11
- restaurantId
- Trantow - Jerde · Zaneberg · ★ 2.7
- items
-
[ { "menuItemId": 439, "quantity": 2, "unitPrice": 19.18, "lineTotal": 38.36 }, { "menuItemId": 435, "quantity": 1, "unitPrice": 75.39, "lineTotal": 75.39 }, { "menuItemId": 437, "quantity": 3, "unitPrice": 62.77, "lineTotal": 188.31 }, { "menuItemId": 433, "quantity": 1, "unitPrice": 41.8, "lineTotal": 41.8 }, { "menuItemId": 434, "quantity": 3, "unitPrice": 12.59, "lineTotal": 37.77 } ] - subtotal
- 381.63
- deliveryFee
- 3.42
- tip
- 6
- total
- 391.05
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#3
#3
Small
food-orders/3 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/3" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/3"
);
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/3"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/3"
)
food_order = res.json() {
"id": 3,
"userId": 44,
"restaurantId": 29,
"items": [
{
"menuItemId": 439,
"quantity": 2,
"unitPrice": 19.18,
"lineTotal": 38.36
},
{
"menuItemId": 435,
"quantity": 1,
"unitPrice": 75.39,
"lineTotal": 75.39
},
{
"menuItemId": 437,
"quantity": 3,
"unitPrice": 62.77,
"lineTotal": 188.31
},
{
"menuItemId": 433,
"quantity": 1,
"unitPrice": 41.8,
"lineTotal": 41.8
},
{
"menuItemId": 434,
"quantity": 3,
"unitPrice": 12.59,
"lineTotal": 37.77
}
],
"subtotal": 381.63,
"deliveryFee": 3.42,
"tip": 6,
"total": 391.05,
"currency": "USD",
"status": "delivered",
"placedAt": "2026-01-12T17:51:55.199Z",
"deliveredAt": "2026-01-12T21:11:18.180Z"
}