This article guides you through the recommended process for fetching a complete menu structure, including all sub-entities, using the Menus API.
The Wix Restaurants Menus system is organized hierarchically: menus contain sections, sections contain items, and items can have variants, modifier groups which in turn contain modifiers, and labels.
To retrieve all the information for a menu and it's sub-entities, you need to follow the relationships between these entities and make multiple API calls.
The end result is a complete, in-memory representation of your menu, ready for display or further processing.
To retrieve an entire menu:
businessLocationId
or businessLocationIds
fields.