food-orders / #163
- userId
-
Lew O'Kon @lew.okon75
- restaurantId
- Murazik - Goodwin · Haneborough · ★ 3.2
- items
-
[ { "menuItemId": 845, "quantity": 4, "unitPrice": 63.88, "lineTotal": 255.52 }, { "menuItemId": 843, "quantity": 1, "unitPrice": 71.91, "lineTotal": 71.91 } ] - subtotal
- 327.43
- deliveryFee
- 4.01
- tip
- 10.28
- total
- 341.72
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#163
#163
Small
food-orders/163 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/163" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/163"
);
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/163"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/163"
)
food_order = res.json() {
"id": 163,
"userId": 131,
"restaurantId": 56,
"items": [
{
"menuItemId": 845,
"quantity": 4,
"unitPrice": 63.88,
"lineTotal": 255.52
},
{
"menuItemId": 843,
"quantity": 1,
"unitPrice": 71.91,
"lineTotal": 71.91
}
],
"subtotal": 327.43,
"deliveryFee": 4.01,
"tip": 10.28,
"total": 341.72,
"currency": "USD",
"status": "delivered",
"placedAt": "2026-05-08T19:05:53.906Z",
"deliveredAt": "2026-05-08T22:06:53.635Z"
}