food-orders / #64
- userId
-
Aaron Fritsch @aaron.fritsch
- restaurantId
- Johns - Adams · Bradleyburgh · ★ 2.6
- items
-
[ { "menuItemId": 882, "quantity": 1, "unitPrice": 68.35, "lineTotal": 68.35 } ] - subtotal
- 68.35
- deliveryFee
- 5.25
- tip
- 2.52
- total
- 76.12
- currency
- USD
- status
- preparing
- placedAt
- deliveredAt
- —
Component variants
Medium
#64
#64
Small
food-orders/64 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/64" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/64"
);
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/64"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/64"
)
food_order = res.json() {
"id": 64,
"userId": 124,
"restaurantId": 58,
"items": [
{
"menuItemId": 882,
"quantity": 1,
"unitPrice": 68.35,
"lineTotal": 68.35
}
],
"subtotal": 68.35,
"deliveryFee": 5.25,
"tip": 2.52,
"total": 76.12,
"currency": "USD",
"status": "preparing",
"placedAt": "2025-05-23T16:38:00.829Z",
"deliveredAt": null
}