Skip to navigation

Get Menu - The Bazaar by Jose Andres

View as Markdown

Loads a published menus widget.

data is an array of menus sorted by position. Each menu has sections[], each section has items[], and each item has modifiers[].choices[].

  • price values are pre-formatted strings (for example "$45.00"), not numbers.
  • currencyCode is ISO 4217 and is optional at each level.
  • allergens: DAIRY, EGG, FISH, PEANUT, SHELLFISH, SOY, TREE_NUT, WHEAT.
  • dietaryRestrictions: HALAL, KOSHER, ORGANIC, VEGAN, VEGETARIAN.
  • spiciness: MILD, MEDIUM, HOT.
  • compressed / compressType describe storage only. The API always returns decompressed JSON.

config controls layout (layoutFormat: text | text_image, maxColumns, alignment), visibility flags (hidePrices, hideAttributes, …), fonts and colors. store is optional.

Examples: 200 (trimmed to one menu, section and item), 304 with If-None-Match, and 404 when the id exists but widgetType does not match.

Query parameters

widgetTypestringRequired

Response headers

ETagstringOptional
Cache-ControlstringOptional
Access-Control-Allow-OriginstringOptional
Access-Control-Expose-HeadersstringOptional

Response

OK
idstringformat: "uuid"
geoobject
datalist of objects
typestring
storeobject
configobject
createdAtinteger
updatedAtinteger
compressedboolean

Errors

404
Not Found Error