food-orders / #153
- userId
-
Filiberto Fay @filiberto.fay59
- restaurantId
- Hamill, Flatley and Pfeffer · North Trevacester · ★ 4.3
- items
-
[ { "menuItemId": 772, "quantity": 4, "unitPrice": 34.94, "lineTotal": 139.76 } ] - subtotal
- 139.76
- deliveryFee
- 4.24
- tip
- 11.7
- total
- 155.7
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#153
#153
Small
food-orders/153 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/153" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/153"
);
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/153"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/153"
)
food_order = res.json() {
"id": 153,
"userId": 92,
"restaurantId": 51,
"items": [
{
"menuItemId": 772,
"quantity": 4,
"unitPrice": 34.94,
"lineTotal": 139.76
}
],
"subtotal": 139.76,
"deliveryFee": 4.24,
"tip": 11.7,
"total": 155.7,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-11-24T20:27:02.523Z",
"deliveredAt": "2025-11-24T23:03:53.056Z"
}