food-orders / #57
- userId
-
Oma Franecki-Johnson @oma.franecki-johnson
- restaurantId
- Parisian and Sons · New Timmothy · ★ 3.9
- items
-
[ { "menuItemId": 1057, "quantity": 1, "unitPrice": 23.89, "lineTotal": 23.89 }, { "menuItemId": 1055, "quantity": 4, "unitPrice": 21.47, "lineTotal": 85.88 } ] - subtotal
- 109.77
- deliveryFee
- 7.23
- tip
- 3.17
- total
- 120.17
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#57
#57
Small
food-orders/57 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/57" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/57"
);
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/57"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/57"
)
food_order = res.json() {
"id": 57,
"userId": 242,
"restaurantId": 70,
"items": [
{
"menuItemId": 1057,
"quantity": 1,
"unitPrice": 23.89,
"lineTotal": 23.89
},
{
"menuItemId": 1055,
"quantity": 4,
"unitPrice": 21.47,
"lineTotal": 85.88
}
],
"subtotal": 109.77,
"deliveryFee": 7.23,
"tip": 3.17,
"total": 120.17,
"currency": "USD",
"status": "delivered",
"placedAt": "2026-04-08T11:58:44.872Z",
"deliveredAt": "2026-04-08T14:47:09.787Z"
}