menu-items / #230
- menuId
- menus/24
- name
- Roasted Tuna Fillet
- slug
- roasted-tuna-fillet-230
- description
- Slow-cooked to perfection with aromatic herbs and spices.
- price
- 15.02
- currency
- USD
- foodCategoryId
- 1
- spicyLevel
- 0
- isVegetarian
- false
- isVegan
- false
- isGlutenFree
- false
- imageUrl
- https://picsum.photos/seed/menu-item-230/640/480
- createdAt
Component variants
Related
References
curl -sS \
"https://example-data.com/api/v1/menu-items/230" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/menu-items/230"
);
const menuItem = await res.json();import type { MenuItem } from "https://example-data.com/types/menu-items.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/menu-items/230"
);
const menuItem = (await res.json()) as MenuItem;import requests
res = requests.get(
"https://example-data.com/api/v1/menu-items/230"
)
menu_item = res.json() {
"id": 230,
"menuId": 24,
"name": "Roasted Tuna Fillet",
"slug": "roasted-tuna-fillet-230",
"description": "Slow-cooked to perfection with aromatic herbs and spices.",
"price": 15.02,
"currency": "USD",
"foodCategoryId": 1,
"spicyLevel": 0,
"isVegetarian": false,
"isVegan": false,
"isGlutenFree": false,
"imageUrl": "https://picsum.photos/seed/menu-item-230/640/480",
"createdAt": "2024-07-07T05:01:24.224Z"
}