food-orders / #154
- userId
-
Matilde Beahan @matilde_beahan
- restaurantId
- Weimann, Herzog and Wisoky · Grahamberg · ★ 3.2
- items
-
[ { "menuItemId": 1281, "quantity": 4, "unitPrice": 71.22, "lineTotal": 284.88 }, { "menuItemId": 1286, "quantity": 4, "unitPrice": 64.02, "lineTotal": 256.08 }, { "menuItemId": 1282, "quantity": 1, "unitPrice": 13.28, "lineTotal": 13.28 }, { "menuItemId": 1289, "quantity": 3, "unitPrice": 60.13, "lineTotal": 180.39 }, { "menuItemId": 1288, "quantity": 3, "unitPrice": 25.49, "lineTotal": 76.47 } ] - subtotal
- 811.1
- deliveryFee
- 0.4
- tip
- 9.82
- total
- 821.32
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#154
#154
Small
food-orders/154 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/154" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/154"
);
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/154"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/154"
)
food_order = res.json() {
"id": 154,
"userId": 96,
"restaurantId": 89,
"items": [
{
"menuItemId": 1281,
"quantity": 4,
"unitPrice": 71.22,
"lineTotal": 284.88
},
{
"menuItemId": 1286,
"quantity": 4,
"unitPrice": 64.02,
"lineTotal": 256.08
},
{
"menuItemId": 1282,
"quantity": 1,
"unitPrice": 13.28,
"lineTotal": 13.28
},
{
"menuItemId": 1289,
"quantity": 3,
"unitPrice": 60.13,
"lineTotal": 180.39
},
{
"menuItemId": 1288,
"quantity": 3,
"unitPrice": 25.49,
"lineTotal": 76.47
}
],
"subtotal": 811.1,
"deliveryFee": 0.4,
"tip": 9.82,
"total": 821.32,
"currency": "USD",
"status": "delivered",
"placedAt": "2026-03-24T03:36:03.303Z",
"deliveredAt": "2026-03-24T04:50:21.878Z"
}