Item: Sample Use Cases & Flows

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

Sync pizza menus across all sites

If you have several pizzeria sites, you might need to sync menus across those sites. For example, if you have a new item called "Margherita", this change also needs to be reflected on other sites.

To sync the pizza menu across all sites:

  1. Call Get Item on the site where you created a new item.
  2. Extract the whole item object.
  3. Call Create Item for your other sites and pass the new item to each.
  4. Call Update Section and add the new item ID to the section.itemIds array.
Did this help?