Choices on usual menus
A usual menu, marked scope: "chain", now carries each item's choices in optionGroups, on POST /v1/menus and the MCP menu tool. Before, it had names, sections and photos only. See POST /v1/menus.
What changed
- The same shape as a location's own menu. Each group has
name,requiredandoptions, andmoreOptionswhen a group has more than 24. - No prices. An option on a usual menu never carries a price, because prices are each location's.
pricesUnavailableis stilltrue.
{
"status": "menu",
"scope": "chain",
"pricesUnavailable": true,
"items": [
{ "name": "Latte", "category": "Drinks",
"optionGroups": [{ "name": "Milk", "required": true, "options": ["Whole", "Oat"] }] }
]
}
Why it matters
You can show a person what they can choose for a dish at a location Layout has not read yet, on the first call.
What to do
Nothing, if you already read optionGroups on a location's own menu. Show no price for an option on a usual menu.
Breaking changes
None. optionGroups already exists on menu items; it now also appears on a usual menu.