food-orders / #223
- userId
-
Karolann Legros @karolann_legros
- restaurantId
- Ortiz, Torp and Howell · Fort Devanside · ★ 2.9
- items
-
[ { "menuItemId": 85, "quantity": 3, "unitPrice": 53.75, "lineTotal": 161.25 } ] - subtotal
- 161.25
- deliveryFee
- 0.7
- tip
- 11.62
- total
- 173.57
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#223
#223
Small
food-orders/223 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/223" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/223"
);
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/223"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/223"
)
food_order = res.json() {
"id": 223,
"userId": 246,
"restaurantId": 7,
"items": [
{
"menuItemId": 85,
"quantity": 3,
"unitPrice": 53.75,
"lineTotal": 161.25
}
],
"subtotal": 161.25,
"deliveryFee": 0.7,
"tip": 11.62,
"total": 173.57,
"currency": "USD",
"status": "delivered",
"placedAt": "2026-02-03T21:42:01.591Z",
"deliveredAt": "2026-02-03T23:14:04.511Z"
}