food-orders / #48
- userId
-
Margaretta Barrows @margaretta_barrows41
- restaurantId
- Rogahn - Kreiger · South Cathrynside · ★ 4.6
- items
-
[ { "menuItemId": 1210, "quantity": 4, "unitPrice": 29.64, "lineTotal": 118.56 }, { "menuItemId": 1211, "quantity": 3, "unitPrice": 9.51, "lineTotal": 28.53 }, { "menuItemId": 1213, "quantity": 3, "unitPrice": 31.12, "lineTotal": 93.36 }, { "menuItemId": 1212, "quantity": 1, "unitPrice": 21.02, "lineTotal": 21.02 }, { "menuItemId": 1217, "quantity": 3, "unitPrice": 14.83, "lineTotal": 44.49 } ] - subtotal
- 305.96
- deliveryFee
- 6.74
- tip
- 3.24
- total
- 315.94
- currency
- USD
- status
- preparing
- placedAt
- deliveredAt
- —
Component variants
Medium
#48
#48
Small
food-orders/48 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/48" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/48"
);
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/48"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/48"
)
food_order = res.json() {
"id": 48,
"userId": 39,
"restaurantId": 82,
"items": [
{
"menuItemId": 1210,
"quantity": 4,
"unitPrice": 29.64,
"lineTotal": 118.56
},
{
"menuItemId": 1211,
"quantity": 3,
"unitPrice": 9.51,
"lineTotal": 28.53
},
{
"menuItemId": 1213,
"quantity": 3,
"unitPrice": 31.12,
"lineTotal": 93.36
},
{
"menuItemId": 1212,
"quantity": 1,
"unitPrice": 21.02,
"lineTotal": 21.02
},
{
"menuItemId": 1217,
"quantity": 3,
"unitPrice": 14.83,
"lineTotal": 44.49
}
],
"subtotal": 305.96,
"deliveryFee": 6.74,
"tip": 3.24,
"total": 315.94,
"currency": "USD",
"status": "preparing",
"placedAt": "2025-12-18T13:35:51.432Z",
"deliveredAt": null
}