food-orders / #31
- userId
-
Wallace Batz @wallace_batz
- restaurantId
- Price LLC · Aspen Hill · ★ 2.9
- items
-
[ { "menuItemId": 1235, "quantity": 3, "unitPrice": 11.65, "lineTotal": 34.95 }, { "menuItemId": 1234, "quantity": 1, "unitPrice": 11.13, "lineTotal": 11.13 }, { "menuItemId": 1233, "quantity": 3, "unitPrice": 53.6, "lineTotal": 160.8 }, { "menuItemId": 1231, "quantity": 3, "unitPrice": 64.87, "lineTotal": 194.61 } ] - subtotal
- 401.49
- deliveryFee
- 2.57
- tip
- 3.85
- total
- 407.91
- currency
- USD
- status
- out_for_delivery
- placedAt
- deliveredAt
- —
Component variants
Medium
#31
#31
Small
food-orders/31 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/31" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/31"
);
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/31"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/31"
)
food_order = res.json() {
"id": 31,
"userId": 229,
"restaurantId": 84,
"items": [
{
"menuItemId": 1235,
"quantity": 3,
"unitPrice": 11.65,
"lineTotal": 34.95
},
{
"menuItemId": 1234,
"quantity": 1,
"unitPrice": 11.13,
"lineTotal": 11.13
},
{
"menuItemId": 1233,
"quantity": 3,
"unitPrice": 53.6,
"lineTotal": 160.8
},
{
"menuItemId": 1231,
"quantity": 3,
"unitPrice": 64.87,
"lineTotal": 194.61
}
],
"subtotal": 401.49,
"deliveryFee": 2.57,
"tip": 3.85,
"total": 407.91,
"currency": "USD",
"status": "out_for_delivery",
"placedAt": "2025-12-04T20:01:59.976Z",
"deliveredAt": null
}