food-orders / #36
- userId
-
Ressie Howell-Hodkiewicz @ressie_howell-hodkiewicz35
- restaurantId
- Koelpin - Lueilwitz · Salem · ★ 2.7
- items
-
[ { "menuItemId": 831, "quantity": 4, "unitPrice": 30.33, "lineTotal": 121.32 }, { "menuItemId": 822, "quantity": 3, "unitPrice": 26.04, "lineTotal": 78.12 }, { "menuItemId": 825, "quantity": 4, "unitPrice": 16.84, "lineTotal": 67.36 } ] - subtotal
- 266.8
- deliveryFee
- 0.63
- tip
- 10.44
- total
- 277.87
- currency
- USD
- status
- cancelled
- placedAt
- deliveredAt
- —
Component variants
Medium
#36
#36
Small
food-orders/36 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/36" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/36"
);
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/36"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/36"
)
food_order = res.json() {
"id": 36,
"userId": 214,
"restaurantId": 55,
"items": [
{
"menuItemId": 831,
"quantity": 4,
"unitPrice": 30.33,
"lineTotal": 121.32
},
{
"menuItemId": 822,
"quantity": 3,
"unitPrice": 26.04,
"lineTotal": 78.12
},
{
"menuItemId": 825,
"quantity": 4,
"unitPrice": 16.84,
"lineTotal": 67.36
}
],
"subtotal": 266.8,
"deliveryFee": 0.63,
"tip": 10.44,
"total": 277.87,
"currency": "USD",
"status": "cancelled",
"placedAt": "2025-05-03T03:38:54.053Z",
"deliveredAt": null
}