food-orders / #113
- userId
-
Marlin Goldner @marlin_goldner6
- restaurantId
- Mills, Kassulke and Marquardt · Jeffersonville · ★ 3.6
- items
-
[ { "menuItemId": 445, "quantity": 2, "unitPrice": 49.85, "lineTotal": 99.7 } ] - subtotal
- 99.7
- deliveryFee
- 7.05
- tip
- 8.29
- total
- 115.04
- currency
- USD
- status
- delivered
- placedAt
- deliveredAt
Component variants
Medium
#113
#113
Small
food-orders/113 Related
curl -sS \
"https://example-data.com/api/v1/food-orders/113" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-orders/113"
);
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/113"
);
const foodOrder = (await res.json()) as FoodOrder;import requests
res = requests.get(
"https://example-data.com/api/v1/food-orders/113"
)
food_order = res.json() {
"id": 113,
"userId": 160,
"restaurantId": 30,
"items": [
{
"menuItemId": 445,
"quantity": 2,
"unitPrice": 49.85,
"lineTotal": 99.7
}
],
"subtotal": 99.7,
"deliveryFee": 7.05,
"tip": 8.29,
"total": 115.04,
"currency": "USD",
"status": "delivered",
"placedAt": "2025-02-06T11:40:12.325Z",
"deliveredAt": "2025-02-06T14:32:14.296Z"
}