menu-items / #95
- menuId
- menus/11
- name
- Butter-Poached Beef Sandwich
- slug
- butter-poached-beef-sandwich-95
- description
- Served with seasonal sides and house-made sauce.
- price
- 27.49
- currency
- USD
- foodCategoryId
- —
- spicyLevel
- 0
- isVegetarian
- true
- isVegan
- false
- isGlutenFree
- false
- imageUrl
- https://picsum.photos/seed/menu-item-95/640/480
- createdAt
Component variants
Related
References
curl -sS \
"https://example-data.com/api/v1/menu-items/95" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/menu-items/95"
);
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/95"
);
const menuItem = (await res.json()) as MenuItem;import requests
res = requests.get(
"https://example-data.com/api/v1/menu-items/95"
)
menu_item = res.json() {
"id": 95,
"menuId": 11,
"name": "Butter-Poached Beef Sandwich",
"slug": "butter-poached-beef-sandwich-95",
"description": "Served with seasonal sides and house-made sauce.",
"price": 27.49,
"currency": "USD",
"foodCategoryId": null,
"spicyLevel": 0,
"isVegetarian": true,
"isVegan": false,
"isGlutenFree": false,
"imageUrl": "https://picsum.photos/seed/menu-item-95/640/480",
"createdAt": "2024-11-23T15:11:10.915Z"
}