Item Modifier Groups: 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 menu 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 group called "Extra Toppings", this change also needs to be reflected on other sites.

To update the pizza menu across all sites:

  1. Call Get Modifier Group on the site where you updated the menu.
  2. Extract the modifierGroup.name and modifierGroup.modifiers field values.
  3. Call Create Modifier Group for your other sites and pass the new item modifier group to each.
  4. Call Update Item and add new modifier group ID to the item.modifierGroups array.
Did this help?