food-orders / #196
- userId
-
Minerva Hettinger @minerva_hettinger
- restaurantId
- Mitchell, O'Kon and Kunde · South Janelle · ★ 3.2
- items
-
[ { "menuItemId": 340, "quantity": 4, "unitPrice": 68, "lineTotal": 272 }, { "menuItemId": 343, "quantity": 3, "unitPrice": 37.15, "lineTotal": 111.45 } ] - subtotal
- 383.45
- deliveryFee
- 7.23
- tip
- 9.95
- total
- 400.63
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#196
#196
Small
food-orders/196 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/196" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/196"
);
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/196"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/196"
)
food_order = res.json() {
"id": 196,
"userId": 183,
"restaurantId": 22,
"items": [
{
"menuItemId": 340,
"quantity": 4,
"unitPrice": 68,
"lineTotal": 272
},
{
"menuItemId": 343,
"quantity": 3,
"unitPrice": 37.15,
"lineTotal": 111.45
}
],
"subtotal": 383.45,
"deliveryFee": 7.23,
"tip": 9.95,
"total": 400.63,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-06-14T06:55:00.315Z",
"deliveredAt": "2025-06-14T09:01:26.682Z"
}