food-orders / #232
- userId
-
Claudie Hagenes @claudie_hagenes
- restaurantId
- Pouros, O'Reilly and Block · Lake Chandler · ★ 3.5
- items
-
[ { "menuItemId": 706, "quantity": 1, "unitPrice": 67.69, "lineTotal": 67.69 } ] - subtotal
- 67.69
- deliveryFee
- 0.33
- tip
- 3.22
- total
- 71.24
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#232
#232
Small
food-orders/232 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/232" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/232"
);
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/232"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/232"
)
food_order = res.json() {
"id": 232,
"userId": 232,
"restaurantId": 47,
"items": [
{
"menuItemId": 706,
"quantity": 1,
"unitPrice": 67.69,
"lineTotal": 67.69
}
],
"subtotal": 67.69,
"deliveryFee": 0.33,
"tip": 3.22,
"total": 71.24,
"currency": "USD",
"status": "delivered",
"placedAt": "2024-12-26T06:46:58.999Z",
"deliveredAt": "2024-12-26T08:42:02.490Z"
}