food-orders / #174
- userId
-
April Kihn @april.kihn55
- restaurantId
- Schimmel LLC · Clovis · ★ 3.3
- items
-
[ { "menuItemId": 1258, "quantity": 1, "unitPrice": 62.96, "lineTotal": 62.96 }, { "menuItemId": 1249, "quantity": 3, "unitPrice": 26.49, "lineTotal": 79.47 }, { "menuItemId": 1254, "quantity": 1, "unitPrice": 48.26, "lineTotal": 48.26 }, { "menuItemId": 1253, "quantity": 3, "unitPrice": 58.53, "lineTotal": 175.59 } ] - subtotal
- 366.28
- deliveryFee
- 3.47
- tip
- 11.12
- total
- 380.87
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#174
#174
Small
food-orders/174 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/174" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/174"
);
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/174"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/174"
)
food_order = res.json() {
"id": 174,
"userId": 137,
"restaurantId": 86,
"items": [
{
"menuItemId": 1258,
"quantity": 1,
"unitPrice": 62.96,
"lineTotal": 62.96
},
{
"menuItemId": 1249,
"quantity": 3,
"unitPrice": 26.49,
"lineTotal": 79.47
},
{
"menuItemId": 1254,
"quantity": 1,
"unitPrice": 48.26,
"lineTotal": 48.26
},
{
"menuItemId": 1253,
"quantity": 3,
"unitPrice": 58.53,
"lineTotal": 175.59
}
],
"subtotal": 366.28,
"deliveryFee": 3.47,
"tip": 11.12,
"total": 380.87,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-09-10T04:32:13.844Z",
"deliveredAt": "2025-09-10T07:33:09.468Z"
}