Menu Item By Id
Obtain a menu item's details
Use the Menuitemquery to retrieve all details for a specific menu item.
Required Argument
Argument
Type
Description
Available Fields
Field Name
Type
Description
id
ID
Menu item ID
name
string
Name of the menu item
description
string
Description of the menu item
sectionName
string
Section name where the item can be found
courses
string
Type of course. For example Main Dishes, Desserts, etc
restaurantName
string
Restaurant name where this menu item can be found
menu
string
Type of menu where the item can be found. For example, Wine Menu, Dinner Menu, etc
 nutritionalInfo 
Object that contains the nutritional values of the associated food per each gram of that food
Example
{
  menuitem(id: "TWVudUl0ZW06ODhmN2NlYzQtNTRlNS00OTBjLTk2YzEtODc3YWIxOTU2OTky") {
    id
    name
		description
    minPrice
    maxPrice
    sectionName
    courses
    restaurantName
    menu
    ingredients {
      name
    }
    adherence {
      score
      color
      icon
      title
      reason
      isRecommended
    }
  }
}{
  "data": {
    "menuitem": {
      "id": "TWVudUl0ZW06ODhmN2NlYzQtNTRlNS00OTBjLTk2YzEtODc3YWIxOTU2OTky",
      "name": "Chateau St. Michelle, Riesling",
      "description": "fruit foward, peach & apricot",
      "minPrice": 8,
      "maxPrice": 0,
      "sectionName": "White",
      "courses": [
        "Wine"
      ],
      "restaurantName": "Belvedere's",
      "menu": "Wine Menu",
      "ingredients": [
        {
          "name": "peach"
        },
        {
          "name": "fruit"
        },
        {
          "name": "wine"
        },
        {
          "name": "apricot"
        },
        {
          "name": "whiting"
        }
      ],
      "adherence": {
        "score": 0,
        "color": "RED",
        "icon": null,
        "title": "Uh-oh, you may be missing an opportunity to eat right!",
        "reason": "Alcohol is not recommended",
        "isRecommended": false
      }
    }
  }
}Last updated
Was this helpful?
