Skip to main content

Importing menu data

Menus are imported as a set of five entities. Each entity covers a distinct part of the menu import model.

File overview​

FileDescription
menudefinitionsDefines menus by pairing a content group with a price group.
contentgroupsGroups categories and items into named content groups.
pricegroupsSpecifies item prices and VAT configurations.
categoriesOrganises items into categories and subcategories.
itemsDefines all products and containers.

translatableContent​

Several string values across the files support translations and context-specific overrides. These use the translatableContent structure described below.

PropertyTypeRequiredDescription
valuestringYesDefault display value, used when no matching translation is available.
translationsobjectNoMap of locale code (e.g. "sv-SE") to translated string.
overridesobjectNoMap of named variant keys (e.g. "titleShort") to a translatableContent. Allows context-specific display variants.
{
"value": "Beverages",
"translations": {
"sv-SE": "Drycker"
},
"overrides": {
"titleShort": {
"value": "Bev",
"translations": {
"sv-SE": "Dryck"
}
}
}
}