food-orders / #63
- userId
-
Kariane Schmitt @kariane.schmitt97
- restaurantId
- Hamill, Flatley and Pfeffer · North Trevacester · ★ 4.3
- items
-
[ { "menuItemId": 771, "quantity": 2, "unitPrice": 17.95, "lineTotal": 35.9 } ] - subtotal
- 35.9
- deliveryFee
- 6.77
- tip
- 3.65
- total
- 46.32
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#63
#63
Small
food-orders/63 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/63" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/63"
);
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/63"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/63"
)
food_order = res.json() {
"id": 63,
"userId": 32,
"restaurantId": 51,
"items": [
{
"menuItemId": 771,
"quantity": 2,
"unitPrice": 17.95,
"lineTotal": 35.9
}
],
"subtotal": 35.9,
"deliveryFee": 6.77,
"tip": 3.65,
"total": 46.32,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-11-22T07:39:04.849Z",
"deliveredAt": "2025-11-22T10:06:17.385Z"
}