food-orders / #221
- userId
-
Karlee Hudson-Turner @karlee.hudson-turner88
- restaurantId
- Harber, Wolf and Reynolds · Providencifurt · ★ 4.5
- items
-
[ { "menuItemId": 33, "quantity": 3, "unitPrice": 28.94, "lineTotal": 86.82 }, { "menuItemId": 32, "quantity": 2, "unitPrice": 48.94, "lineTotal": 97.88 }, { "menuItemId": 35, "quantity": 3, "unitPrice": 35.98, "lineTotal": 107.94 }, { "menuItemId": 34, "quantity": 4, "unitPrice": 67.63, "lineTotal": 270.52 } ] - subtotal
- 563.16
- deliveryFee
- 5.42
- tip
- 1.55
- total
- 570.13
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#221
#221
Small
food-orders/221 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/221" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/221"
);
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/221"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/221"
)
food_order = res.json() {
"id": 221,
"userId": 36,
"restaurantId": 3,
"items": [
{
"menuItemId": 33,
"quantity": 3,
"unitPrice": 28.94,
"lineTotal": 86.82
},
{
"menuItemId": 32,
"quantity": 2,
"unitPrice": 48.94,
"lineTotal": 97.88
},
{
"menuItemId": 35,
"quantity": 3,
"unitPrice": 35.98,
"lineTotal": 107.94
},
{
"menuItemId": 34,
"quantity": 4,
"unitPrice": 67.63,
"lineTotal": 270.52
}
],
"subtotal": 563.16,
"deliveryFee": 5.42,
"tip": 1.55,
"total": 570.13,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-10-14T17:09:47.077Z",
"deliveredAt": "2025-10-14T20:17:11.092Z"
}