food-orders / #41
- userId
-
Lamont Schroeder @lamont.schroeder89
- restaurantId
- Kshlerin - Champlin · Marquardtfort · ★ 4.4
- items
-
[ { "menuItemId": 159, "quantity": 2, "unitPrice": 7.36, "lineTotal": 14.72 }, { "menuItemId": 157, "quantity": 2, "unitPrice": 44.83, "lineTotal": 89.66 }, { "menuItemId": 155, "quantity": 1, "unitPrice": 49.99, "lineTotal": 49.99 }, { "menuItemId": 156, "quantity": 3, "unitPrice": 30.49, "lineTotal": 91.47 }, { "menuItemId": 161, "quantity": 4, "unitPrice": 48.47, "lineTotal": 193.88 } ] - subtotal
- 439.72
- deliveryFee
- 2.24
- tip
- 9.54
- total
- 451.5
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#41
#41
Small
food-orders/41 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/41" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/41"
);
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/41"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/41"
)
food_order = res.json() {
"id": 41,
"userId": 180,
"restaurantId": 11,
"items": [
{
"menuItemId": 159,
"quantity": 2,
"unitPrice": 7.36,
"lineTotal": 14.72
},
{
"menuItemId": 157,
"quantity": 2,
"unitPrice": 44.83,
"lineTotal": 89.66
},
{
"menuItemId": 155,
"quantity": 1,
"unitPrice": 49.99,
"lineTotal": 49.99
},
{
"menuItemId": 156,
"quantity": 3,
"unitPrice": 30.49,
"lineTotal": 91.47
},
{
"menuItemId": 161,
"quantity": 4,
"unitPrice": 48.47,
"lineTotal": 193.88
}
],
"subtotal": 439.72,
"deliveryFee": 2.24,
"tip": 9.54,
"total": 451.5,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-12-08T22:56:03.947Z",
"deliveredAt": "2025-12-09T01:27:41.019Z"
}