food-orders / #133
- userId
-
Alvena Emmerich @alvena_emmerich52
- restaurantId
- Heller Group · North Jarret · ★ 4.9
- items
-
[ { "menuItemId": 165, "quantity": 2, "unitPrice": 45.91, "lineTotal": 91.82 }, { "menuItemId": 176, "quantity": 2, "unitPrice": 20.92, "lineTotal": 41.84 }, { "menuItemId": 170, "quantity": 4, "unitPrice": 78.13, "lineTotal": 312.52 } ] - subtotal
- 446.18
- deliveryFee
- 1.03
- tip
- 7.74
- total
- 454.95
- currency
- USD
- status
- preparing
- placedAt
- deliveredAt
- —
Component variants
Medium
#133
#133
Small
food-orders/133 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/133" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/133"
);
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/133"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/133"
)
food_order = res.json() {
"id": 133,
"userId": 8,
"restaurantId": 12,
"items": [
{
"menuItemId": 165,
"quantity": 2,
"unitPrice": 45.91,
"lineTotal": 91.82
},
{
"menuItemId": 176,
"quantity": 2,
"unitPrice": 20.92,
"lineTotal": 41.84
},
{
"menuItemId": 170,
"quantity": 4,
"unitPrice": 78.13,
"lineTotal": 312.52
}
],
"subtotal": 446.18,
"deliveryFee": 1.03,
"tip": 7.74,
"total": 454.95,
"currency": "USD",
"status": "preparing",
"placedAt": "2026-04-07T19:53:41.295Z",
"deliveredAt": null
}