example-data.com

menu-items / #8

menuId
menus/1
name
Spicy Mushroom Platter
slug
spicy-mushroom-platter-8
description
Finished with a drizzle of extra virgin olive oil.
price
48.88
currency
USD
foodCategoryId
5
spicyLevel
1
isVegetarian
false
isVegan
false
isGlutenFree
false
imageUrl
https://picsum.photos/seed/menu-item-8/640/480
createdAt

Component variants

Related

References

curl -sS \
  "https://example-data.com/api/v1/menu-items/8" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/menu-items/8"
);
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/8"
);
const menuItem = (await res.json()) as MenuItem;
import requests

res = requests.get(
    "https://example-data.com/api/v1/menu-items/8"
)
menu_item = res.json()
{
  "id": 8,
  "menuId": 1,
  "name": "Spicy Mushroom Platter",
  "slug": "spicy-mushroom-platter-8",
  "description": "Finished with a drizzle of extra virgin olive oil.",
  "price": 48.88,
  "currency": "USD",
  "foodCategoryId": 5,
  "spicyLevel": 1,
  "isVegetarian": false,
  "isVegan": false,
  "isGlutenFree": false,
  "imageUrl": "https://picsum.photos/seed/menu-item-8/640/480",
  "createdAt": "2025-04-06T21:11:35.994Z"
}
Draftbit