food-orders / #143
- userId
-
Marcelina Grady @marcelina_grady19
- restaurantId
- Gleichner - Kunde · New Itzel · ★ 4.9
- items
-
[ { "menuItemId": 934, "quantity": 4, "unitPrice": 27.06, "lineTotal": 108.24 } ] - subtotal
- 108.24
- deliveryFee
- 3.73
- tip
- 5.12
- total
- 117.09
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#143
#143
Small
food-orders/143 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/143" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/143"
);
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/143"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/143"
)
food_order = res.json() {
"id": 143,
"userId": 241,
"restaurantId": 61,
"items": [
{
"menuItemId": 934,
"quantity": 4,
"unitPrice": 27.06,
"lineTotal": 108.24
}
],
"subtotal": 108.24,
"deliveryFee": 3.73,
"tip": 5.12,
"total": 117.09,
"currency": "USD",
"status": "delivered",
"placedAt": "2026-01-07T22:21:59.416Z",
"deliveredAt": "2026-01-08T02:12:03.928Z"
}