Skip to main content

Menu definitions

Defines one or more menus. Each menu definition specifies a country and a list of content/price group pairs that together produce a complete menu.

Top-level structure:

{
"menuDefinitions": {
"<menuDefinitionId>": { ... }
}
}
PropertyTypeRequiredDescription
countryIsoCodestringYesISO country code for the menu (e.g. "SE", "NO").
contentarray of contentItemYesOne or more content/price group pairs used to build menu instances from this definition.

contentItem fields

PropertyTypeRequiredDescription
referencedContentGroupIdstring (numeric)YesID of the content group.
referencedPriceGroupIdstring (numeric)YesID of the price group.

Example:

{
"menuDefinitions": {
"1": {
"countryIsoCode": "SE",
"content": [
{
"referencedContentGroupId": "10",
"referencedPriceGroupId": "20"
}
]
}
}
}