Menu: Sample Use Cases & Flows

This article presents possible use cases and corresponding sample flows that your app can support. It provides a useful starting point as you plan your app's implementation.

Sync pizza menus across all sites

If you have several pizzeria sites that use your app you might need to sync menu across those sites. For example, if there's a new item modifier called "Anchovies", this change also needs to be reflected on other sites.

To sync the pizza menu across all sites:

  1. Call Query Modifiers by the name field on the site where you created a new item modifier.
  2. Extract the modifiers.id, modifiers.name, and modifiers.type fields.
  3. Call Create Modifier for your other sites and pass the new item modifier to each.
  4. Call Update Section and add the new modifier ID to the section.itemIds array.
Did this help?