Menu Item by Program

The menuitemsByProgram query retrieves the information of items depending on the information a given program and restaurant.

Required Arguments

Available Fields

The following fields are displayed in the response:

Refer to this documentation to see the complete list of all the available fields.

Examples

The following examples retrieve the information of menu items classified by a given program and a restaurant.

GraphQL example

{
  menuitemsByProgram(restaurantId: "66b2bf83-2d30-4d8a-8ad0-79ff4137f9f4" 
                     programId: "49611857-af97-4ff9-9f59-8e763960e081") {

    restaurantName
    sectionName
    description
    menu
    name
    minPrice
    maxPrice
    language
    courses
  }
}

cURL example

curl -XPOST 'https://production.suggestic.com/graphql' \
  -H 'Authorization: Bearer <User-JWT>' \
  -H 'Content-Type: application/json' \
--data-raw '{"query": "{menuitemsByProgram(restaurantId:\"66b2bf83-2d30-4d8a-8ad0-79ff4137f9f4==\" programId:\"49611857-af97-4ff9-9f59-8e763960e081\"){restaurantName sectionName description menu name minPrice maxPrice language course}}"}'