food-orders / #81
- userId
-
Americo Hoppe @americo_hoppe57
- restaurantId
- Weimann, Herzog and Wisoky · Grahamberg · ★ 3.2
- items
-
[ { "menuItemId": 1285, "quantity": 1, "unitPrice": 8.63, "lineTotal": 8.63 }, { "menuItemId": 1282, "quantity": 1, "unitPrice": 13.28, "lineTotal": 13.28 } ] - subtotal
- 21.91
- deliveryFee
- 3.64
- tip
- 11.97
- total
- 37.52
- currency
- USD
- status
- out_for_delivery
- placedAt
- deliveredAt
- —
Component variants
Medium
#81
#81
Small
food-orders/81 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/81" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/81"
);
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/81"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/81"
)
food_order = res.json() {
"id": 81,
"userId": 177,
"restaurantId": 89,
"items": [
{
"menuItemId": 1285,
"quantity": 1,
"unitPrice": 8.63,
"lineTotal": 8.63
},
{
"menuItemId": 1282,
"quantity": 1,
"unitPrice": 13.28,
"lineTotal": 13.28
}
],
"subtotal": 21.91,
"deliveryFee": 3.64,
"tip": 11.97,
"total": 37.52,
"currency": "USD",
"status": "out_for_delivery",
"placedAt": "2025-09-28T08:03:30.339Z",
"deliveredAt": null
}