example-data.com

menu-items / #62

menuId
menus/8
name
Steamed Tofu Steak
slug
steamed-tofu-steak-62
description
A customer favorite, crafted from locally sourced produce.
price
66.6
currency
USD
foodCategoryId
12
spicyLevel
0
isVegetarian
false
isVegan
false
isGlutenFree
false
imageUrl
https://picsum.photos/seed/menu-item-62/640/480
createdAt

Component variants

Related

References

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

res = requests.get(
    "https://example-data.com/api/v1/menu-items/62"
)
menu_item = res.json()
{
  "id": 62,
  "menuId": 8,
  "name": "Steamed Tofu Steak",
  "slug": "steamed-tofu-steak-62",
  "description": "A customer favorite, crafted from locally sourced produce.",
  "price": 66.6,
  "currency": "USD",
  "foodCategoryId": 12,
  "spicyLevel": 0,
  "isVegetarian": false,
  "isVegan": false,
  "isGlutenFree": false,
  "imageUrl": "https://picsum.photos/seed/menu-item-62/640/480",
  "createdAt": "2024-11-08T10:27:57.804Z"
}
Draftbit