food-orders / #10
- userId
-
Jameson Considine @jameson.considine1
- restaurantId
- Mayert LLC · Darianaburgh · ★ 4.4
- items
-
[ { "menuItemId": 529, "quantity": 4, "unitPrice": 24.05, "lineTotal": 96.2 }, { "menuItemId": 528, "quantity": 2, "unitPrice": 32.06, "lineTotal": 64.12 } ] - subtotal
- 160.32
- deliveryFee
- 2.52
- tip
- 8.73
- total
- 171.57
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#10
#10
Small
food-orders/10 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/10" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/10"
);
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/10"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/10"
)
food_order = res.json() {
"id": 10,
"userId": 236,
"restaurantId": 36,
"items": [
{
"menuItemId": 529,
"quantity": 4,
"unitPrice": 24.05,
"lineTotal": 96.2
},
{
"menuItemId": 528,
"quantity": 2,
"unitPrice": 32.06,
"lineTotal": 64.12
}
],
"subtotal": 160.32,
"deliveryFee": 2.52,
"tip": 8.73,
"total": 171.57,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-12-29T16:26:02.749Z",
"deliveredAt": "2025-12-29T17:40:00.381Z"
}