food-orders / #80
- userId
-
Rupert Lebsack @rupert.lebsack
- restaurantId
- Mohr, Treutel and Watsica · East Felipa · ★ 4.6
- items
-
[ { "menuItemId": 407, "quantity": 3, "unitPrice": 51.31, "lineTotal": 153.93 } ] - subtotal
- 153.93
- deliveryFee
- 0.25
- tip
- 4.18
- total
- 158.36
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#80
#80
Small
food-orders/80 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/80" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/80"
);
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/80"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/80"
)
food_order = res.json() {
"id": 80,
"userId": 249,
"restaurantId": 27,
"items": [
{
"menuItemId": 407,
"quantity": 3,
"unitPrice": 51.31,
"lineTotal": 153.93
}
],
"subtotal": 153.93,
"deliveryFee": 0.25,
"tip": 4.18,
"total": 158.36,
"currency": "USD",
"status": "delivered",
"placedAt": "2026-03-03T18:37:47.873Z",
"deliveredAt": "2026-03-03T20:45:53.253Z"
}