Build a Complete Menu

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.

Copy

To build a menu using this bottom-up approach:

  1. Call Bulk Create Variants to create all needed item variants.
  2. Call Create Label to create all needed item labels.
  3. Call Bulk Create Modifiers to create all needed item modifiers.
  4. Call Bulk Create Modifier Groups to create all needed modifier groups, attaching the relevant modifier IDs.
  5. Call Bulk Create Items to create all menu items, attaching sub-entities (variants, modifier groups, labels) as needed.
  6. Call Bulk Create Sections to create menu sections, attaching the relevant item IDs to each section.
  7. Call Create Menu to create the menu, attaching the section IDs.

Important considerations

  • Business locations: Menus and sections are each tied to a single business location (businessLocationId), while items, variants, modifiers, and modifier groups can be shared across multiple locations (businessLocationIds). Make sure you associate entities with the correct locations.
  • Entity sharing: Items and their sub-entities can be reused across multiple sections and menus, simplifying management for restaurants with similar offerings at different locations.

See also

Did this help?