food-orders / #107
- userId
-
Gerda Streich @gerda_streich
- restaurantId
- Heathcote Group · New Eduardoboro · ★ 4.0
- items
-
[ { "menuItemId": 1173, "quantity": 2, "unitPrice": 38.19, "lineTotal": 76.38 }, { "menuItemId": 1177, "quantity": 4, "unitPrice": 39.89, "lineTotal": 159.56 } ] - subtotal
- 235.94
- deliveryFee
- 4.17
- tip
- 4.22
- total
- 244.33
- currency
- USD
- status
- cancelled
- placedAt
- deliveredAt
- —
Component variants
Medium
#107
#107
Small
food-orders/107 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/107" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/107"
);
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/107"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/107"
)
food_order = res.json() {
"id": 107,
"userId": 126,
"restaurantId": 80,
"items": [
{
"menuItemId": 1173,
"quantity": 2,
"unitPrice": 38.19,
"lineTotal": 76.38
},
{
"menuItemId": 1177,
"quantity": 4,
"unitPrice": 39.89,
"lineTotal": 159.56
}
],
"subtotal": 235.94,
"deliveryFee": 4.17,
"tip": 4.22,
"total": 244.33,
"currency": "USD",
"status": "cancelled",
"placedAt": "2026-01-31T06:15:39.751Z",
"deliveredAt": null
}