food-orders / #195
- userId
-
Wallace Batz @wallace_batz
- restaurantId
- Klocko, Gusikowski and Lockman · Lake Vern · ★ 2.9
- items
-
[ { "menuItemId": 1345, "quantity": 3, "unitPrice": 71.58, "lineTotal": 214.74 }, { "menuItemId": 1335, "quantity": 3, "unitPrice": 59.2, "lineTotal": 177.6 }, { "menuItemId": 1331, "quantity": 3, "unitPrice": 31.3, "lineTotal": 93.9 }, { "menuItemId": 1342, "quantity": 1, "unitPrice": 22.14, "lineTotal": 22.14 }, { "menuItemId": 1339, "quantity": 4, "unitPrice": 5.4, "lineTotal": 21.6 } ] - subtotal
- 529.98
- deliveryFee
- 4.14
- tip
- 3.87
- total
- 537.99
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#195
#195
Small
food-orders/195 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/195" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/195"
);
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/195"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/195"
)
food_order = res.json() {
"id": 195,
"userId": 229,
"restaurantId": 92,
"items": [
{
"menuItemId": 1345,
"quantity": 3,
"unitPrice": 71.58,
"lineTotal": 214.74
},
{
"menuItemId": 1335,
"quantity": 3,
"unitPrice": 59.2,
"lineTotal": 177.6
},
{
"menuItemId": 1331,
"quantity": 3,
"unitPrice": 31.3,
"lineTotal": 93.9
},
{
"menuItemId": 1342,
"quantity": 1,
"unitPrice": 22.14,
"lineTotal": 22.14
},
{
"menuItemId": 1339,
"quantity": 4,
"unitPrice": 5.4,
"lineTotal": 21.6
}
],
"subtotal": 529.98,
"deliveryFee": 4.14,
"tip": 3.87,
"total": 537.99,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-07-23T13:35:06.300Z",
"deliveredAt": "2025-07-23T17:00:48.389Z"
}