food-orders / #101
- userId
-
Rosina Larkin @rosina.larkin75
- restaurantId
- Mohr, Treutel and Watsica · East Felipa · ★ 4.6
- items
-
[ { "menuItemId": 404, "quantity": 4, "unitPrice": 60.68, "lineTotal": 242.72 }, { "menuItemId": 412, "quantity": 4, "unitPrice": 75.01, "lineTotal": 300.04 }, { "menuItemId": 402, "quantity": 1, "unitPrice": 42.4, "lineTotal": 42.4 } ] - subtotal
- 585.16
- deliveryFee
- 7.43
- tip
- 0.69
- total
- 593.28
- currency
- USD
- status
- placed
- placedAt
- deliveredAt
- —
Component variants
Medium
#101
#101
Small
food-orders/101 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/101" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/101"
);
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/101"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/101"
)
food_order = res.json() {
"id": 101,
"userId": 103,
"restaurantId": 27,
"items": [
{
"menuItemId": 404,
"quantity": 4,
"unitPrice": 60.68,
"lineTotal": 242.72
},
{
"menuItemId": 412,
"quantity": 4,
"unitPrice": 75.01,
"lineTotal": 300.04
},
{
"menuItemId": 402,
"quantity": 1,
"unitPrice": 42.4,
"lineTotal": 42.4
}
],
"subtotal": 585.16,
"deliveryFee": 7.43,
"tip": 0.69,
"total": 593.28,
"currency": "USD",
"status": "placed",
"placedAt": "2026-04-11T03:30:22.520Z",
"deliveredAt": null
}