food-orders / #180
- userId
-
Ressie Howell-Hodkiewicz @ressie_howell-hodkiewicz35
- restaurantId
- Roob - Fisher · Kuhlmanshire · ★ 3.2
- items
-
[ { "menuItemId": 1226, "quantity": 2, "unitPrice": 75.09, "lineTotal": 150.18 }, { "menuItemId": 1227, "quantity": 3, "unitPrice": 59.83, "lineTotal": 179.49 } ] - subtotal
- 329.67
- deliveryFee
- 0.32
- tip
- 9.17
- total
- 339.16
- currency
- USD
- status
- preparing
- placedAt
- deliveredAt
- —
Component variants
Medium
#180
#180
Small
food-orders/180 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/180" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/180"
);
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/180"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/180"
)
food_order = res.json() {
"id": 180,
"userId": 214,
"restaurantId": 83,
"items": [
{
"menuItemId": 1226,
"quantity": 2,
"unitPrice": 75.09,
"lineTotal": 150.18
},
{
"menuItemId": 1227,
"quantity": 3,
"unitPrice": 59.83,
"lineTotal": 179.49
}
],
"subtotal": 329.67,
"deliveryFee": 0.32,
"tip": 9.17,
"total": 339.16,
"currency": "USD",
"status": "preparing",
"placedAt": "2026-02-21T22:25:35.181Z",
"deliveredAt": null
}