food-orders / #182
- userId
-
Minerva Hettinger @minerva_hettinger
- restaurantId
- Simonis - Kshlerin · Stanleybury · ★ 2.8
- items
-
[ { "menuItemId": 679, "quantity": 4, "unitPrice": 37.88, "lineTotal": 151.52 }, { "menuItemId": 675, "quantity": 3, "unitPrice": 45.17, "lineTotal": 135.51 }, { "menuItemId": 673, "quantity": 1, "unitPrice": 63.75, "lineTotal": 63.75 } ] - subtotal
- 350.78
- deliveryFee
- 4.99
- tip
- 5.76
- total
- 361.53
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#182
#182
Small
food-orders/182 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/182" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/182"
);
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/182"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/182"
)
food_order = res.json() {
"id": 182,
"userId": 183,
"restaurantId": 45,
"items": [
{
"menuItemId": 679,
"quantity": 4,
"unitPrice": 37.88,
"lineTotal": 151.52
},
{
"menuItemId": 675,
"quantity": 3,
"unitPrice": 45.17,
"lineTotal": 135.51
},
{
"menuItemId": 673,
"quantity": 1,
"unitPrice": 63.75,
"lineTotal": 63.75
}
],
"subtotal": 350.78,
"deliveryFee": 4.99,
"tip": 5.76,
"total": 361.53,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-11-21T03:15:42.715Z",
"deliveredAt": "2025-11-21T06:17:29.080Z"
}