food-orders / #136
- userId
-
Sonia Nolan @sonia_nolan
- restaurantId
- Ferry LLC · South Gilbertoton · ★ 3.8
- items
-
[ { "menuItemId": 852, "quantity": 4, "unitPrice": 72.01, "lineTotal": 288.04 }, { "menuItemId": 855, "quantity": 3, "unitPrice": 6.43, "lineTotal": 19.29 }, { "menuItemId": 853, "quantity": 4, "unitPrice": 25.25, "lineTotal": 101 }, { "menuItemId": 870, "quantity": 1, "unitPrice": 69.66, "lineTotal": 69.66 } ] - subtotal
- 477.99
- deliveryFee
- 2.02
- tip
- 8.54
- total
- 488.55
- currency
- USD
- status
- preparing
- placedAt
- deliveredAt
- —
Component variants
Medium
#136
#136
Small
food-orders/136 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/136" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/136"
);
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/136"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/136"
)
food_order = res.json() {
"id": 136,
"userId": 208,
"restaurantId": 57,
"items": [
{
"menuItemId": 852,
"quantity": 4,
"unitPrice": 72.01,
"lineTotal": 288.04
},
{
"menuItemId": 855,
"quantity": 3,
"unitPrice": 6.43,
"lineTotal": 19.29
},
{
"menuItemId": 853,
"quantity": 4,
"unitPrice": 25.25,
"lineTotal": 101
},
{
"menuItemId": 870,
"quantity": 1,
"unitPrice": 69.66,
"lineTotal": 69.66
}
],
"subtotal": 477.99,
"deliveryFee": 2.02,
"tip": 8.54,
"total": 488.55,
"currency": "USD",
"status": "preparing",
"placedAt": "2025-12-04T11:43:20.291Z",
"deliveredAt": null
}