Sections: 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 you have a new section in the menu, called "Salads" this change also needs to be reflected on other sites.

To sync the pizza menu across all sites:

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