food-orders / #203
- userId
-
Jermain Kshlerin @jermain_kshlerin51
- restaurantId
- Schamberger LLC · Walshville · ★ 4.1
- items
-
[ { "menuItemId": 1083, "quantity": 4, "unitPrice": 7.25, "lineTotal": 29 }, { "menuItemId": 1087, "quantity": 2, "unitPrice": 57.74, "lineTotal": 115.48 }, { "menuItemId": 1085, "quantity": 3, "unitPrice": 61.65, "lineTotal": 184.95 }, { "menuItemId": 1084, "quantity": 3, "unitPrice": 71.1, "lineTotal": 213.3 } ] - subtotal
- 542.73
- deliveryFee
- 3.91
- tip
- 8.98
- total
- 555.62
- currency
- USD
- status
- cancelled
- placedAt
- deliveredAt
- —
Component variants
Medium
#203
#203
Small
food-orders/203 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/203" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/203"
);
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/203"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/203"
)
food_order = res.json() {
"id": 203,
"userId": 104,
"restaurantId": 72,
"items": [
{
"menuItemId": 1083,
"quantity": 4,
"unitPrice": 7.25,
"lineTotal": 29
},
{
"menuItemId": 1087,
"quantity": 2,
"unitPrice": 57.74,
"lineTotal": 115.48
},
{
"menuItemId": 1085,
"quantity": 3,
"unitPrice": 61.65,
"lineTotal": 184.95
},
{
"menuItemId": 1084,
"quantity": 3,
"unitPrice": 71.1,
"lineTotal": 213.3
}
],
"subtotal": 542.73,
"deliveryFee": 3.91,
"tip": 8.98,
"total": 555.62,
"currency": "USD",
"status": "cancelled",
"placedAt": "2026-02-04T11:32:38.569Z",
"deliveredAt": null
}