This article guides you through the recommended process of building a complete menu hierarchy using the Menus API, starting from the lowest-level sub-entities and working up to the menu itself. This approach is efficient for bulk creation of sub-entities and ensures all relationships are properly established.
The end result is a fully structured menu, with all sub-entities linked and ready for use.
To build a menu using this bottom-up approach:
businessLocationId
), while items, variants, modifiers, and modifier groups can be shared across multiple locations (businessLocationIds
). Make sure you associate entities with the correct locations.