food-orders / #190
- userId
-
Marilou Douglas @marilou.douglas
- restaurantId
- McGlynn, Bosco and Gusikowski · Altadena · ★ 3.8
- items
-
[ { "menuItemId": 490, "quantity": 4, "unitPrice": 74.37, "lineTotal": 297.48 }, { "menuItemId": 491, "quantity": 4, "unitPrice": 7.12, "lineTotal": 28.48 }, { "menuItemId": 493, "quantity": 2, "unitPrice": 63.82, "lineTotal": 127.64 }, { "menuItemId": 485, "quantity": 2, "unitPrice": 18.98, "lineTotal": 37.96 }, { "menuItemId": 483, "quantity": 3, "unitPrice": 33.34, "lineTotal": 100.02 } ] - subtotal
- 591.58
- deliveryFee
- 4.06
- tip
- 11.53
- total
- 607.17
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#190
#190
Small
food-orders/190 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/190" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/190"
);
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/190"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/190"
)
food_order = res.json() {
"id": 190,
"userId": 78,
"restaurantId": 33,
"items": [
{
"menuItemId": 490,
"quantity": 4,
"unitPrice": 74.37,
"lineTotal": 297.48
},
{
"menuItemId": 491,
"quantity": 4,
"unitPrice": 7.12,
"lineTotal": 28.48
},
{
"menuItemId": 493,
"quantity": 2,
"unitPrice": 63.82,
"lineTotal": 127.64
},
{
"menuItemId": 485,
"quantity": 2,
"unitPrice": 18.98,
"lineTotal": 37.96
},
{
"menuItemId": 483,
"quantity": 3,
"unitPrice": 33.34,
"lineTotal": 100.02
}
],
"subtotal": 591.58,
"deliveryFee": 4.06,
"tip": 11.53,
"total": 607.17,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-01-01T10:11:16.541Z",
"deliveredAt": "2025-01-01T12:05:58.487Z"
}