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>": { ... }
}
}
Menu definition fields
| Property | Type | Required | Description |
|---|---|---|---|
countryIsoCode | string | Yes | ISO country code for the menu (e.g. "SE", "NO"). |
content | array of contentItem | Yes | One or more content/price group pairs used to build menu instances from this definition. |
contentItem fields
| Property | Type | Required | Description |
|---|---|---|---|
referencedContentGroupId | string (numeric) | Yes | ID of the content group. |
referencedPriceGroupId | string (numeric) | Yes | ID of the price group. |
Example:
{
"menuDefinitions": {
"1": {
"countryIsoCode": "SE",
"content": [
{
"referencedContentGroupId": "10",
"referencedPriceGroupId": "20"
}
]
}
}
}