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:
- Call Get Modifier Group on the site where you updated the menu.
- Extract the
modifierGroup.name
andmodifierGroup.modifiers
field values. - Call Create Modifier Group for your other sites and pass the new item modifier group to each.
- Call Update Item and add new modifier group ID to the
item.modifierGroups
array.
Was this helpful?
Yes
No