food-orders / #105
- userId
-
Hermina West @hermina.west3
- restaurantId
- Auer, Franey and Nicolas · Lake Kacey · ★ 4.1
- items
-
[ { "menuItemId": 395, "quantity": 1, "unitPrice": 65.51, "lineTotal": 65.51 }, { "menuItemId": 398, "quantity": 4, "unitPrice": 24.39, "lineTotal": 97.56 } ] - subtotal
- 163.07
- deliveryFee
- 3.59
- tip
- 0.12
- total
- 166.78
- currency
- USD
- status
- out_for_delivery
- placedAt
- deliveredAt
- —
Component variants
Medium
#105
#105
Small
food-orders/105 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/105" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/105"
);
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/105"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/105"
)
food_order = res.json() {
"id": 105,
"userId": 51,
"restaurantId": 26,
"items": [
{
"menuItemId": 395,
"quantity": 1,
"unitPrice": 65.51,
"lineTotal": 65.51
},
{
"menuItemId": 398,
"quantity": 4,
"unitPrice": 24.39,
"lineTotal": 97.56
}
],
"subtotal": 163.07,
"deliveryFee": 3.59,
"tip": 0.12,
"total": 166.78,
"currency": "USD",
"status": "out_for_delivery",
"placedAt": "2025-01-28T16:41:43.694Z",
"deliveredAt": null
}