food-orders / #106
- userId
-
Leonel Hamill @leonel_hamill33
- restaurantId
- Weimann, Herzog and Wisoky · Grahamberg · ★ 3.2
- items
-
[ { "menuItemId": 1285, "quantity": 2, "unitPrice": 8.63, "lineTotal": 17.26 } ] - subtotal
- 17.26
- deliveryFee
- 1.96
- tip
- 11.66
- total
- 30.88
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#106
#106
Small
food-orders/106 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/106" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/106"
);
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/106"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/106"
)
food_order = res.json() {
"id": 106,
"userId": 11,
"restaurantId": 89,
"items": [
{
"menuItemId": 1285,
"quantity": 2,
"unitPrice": 8.63,
"lineTotal": 17.26
}
],
"subtotal": 17.26,
"deliveryFee": 1.96,
"tip": 11.66,
"total": 30.88,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-07-15T16:28:55.283Z",
"deliveredAt": "2025-07-15T17:48:44.320Z"
}