food-orders / #28
- userId
-
Marilou Douglas @marilou.douglas
- restaurantId
- Gislason Group · Marinafield · ★ 3.2
- items
-
[ { "menuItemId": 1066, "quantity": 1, "unitPrice": 43.38, "lineTotal": 43.38 }, { "menuItemId": 1069, "quantity": 3, "unitPrice": 40.45, "lineTotal": 121.35 }, { "menuItemId": 1059, "quantity": 3, "unitPrice": 61.29, "lineTotal": 183.87 }, { "menuItemId": 1077, "quantity": 1, "unitPrice": 18.38, "lineTotal": 18.38 } ] - subtotal
- 366.98
- deliveryFee
- 7.5
- tip
- 0.07
- total
- 374.55
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#28
#28
Small
food-orders/28 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/28" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/28"
);
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/28"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/28"
)
food_order = res.json() {
"id": 28,
"userId": 78,
"restaurantId": 71,
"items": [
{
"menuItemId": 1066,
"quantity": 1,
"unitPrice": 43.38,
"lineTotal": 43.38
},
{
"menuItemId": 1069,
"quantity": 3,
"unitPrice": 40.45,
"lineTotal": 121.35
},
{
"menuItemId": 1059,
"quantity": 3,
"unitPrice": 61.29,
"lineTotal": 183.87
},
{
"menuItemId": 1077,
"quantity": 1,
"unitPrice": 18.38,
"lineTotal": 18.38
}
],
"subtotal": 366.98,
"deliveryFee": 7.5,
"tip": 0.07,
"total": 374.55,
"currency": "USD",
"status": "delivered",
"placedAt": "2026-02-01T02:38:49.787Z",
"deliveredAt": "2026-02-01T04:42:24.695Z"
}