food-orders / #211
- userId
-
Edward Jacobson @edward_jacobson38
- restaurantId
- Heller Group · North Jarret · ★ 4.9
- items
-
[ { "menuItemId": 163, "quantity": 3, "unitPrice": 43.88, "lineTotal": 131.64 }, { "menuItemId": 177, "quantity": 4, "unitPrice": 15.62, "lineTotal": 62.48 } ] - subtotal
- 194.12
- deliveryFee
- 3.19
- tip
- 4.24
- total
- 201.55
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#211
#211
Small
food-orders/211 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/211" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/211"
);
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/211"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/211"
)
food_order = res.json() {
"id": 211,
"userId": 38,
"restaurantId": 12,
"items": [
{
"menuItemId": 163,
"quantity": 3,
"unitPrice": 43.88,
"lineTotal": 131.64
},
{
"menuItemId": 177,
"quantity": 4,
"unitPrice": 15.62,
"lineTotal": 62.48
}
],
"subtotal": 194.12,
"deliveryFee": 3.19,
"tip": 4.24,
"total": 201.55,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-05-23T15:19:33.725Z",
"deliveredAt": "2025-05-23T17:51:26.732Z"
}