Item Label: 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 is a new label for the pizza called "Spicy (Level 3)", this change also needs to be reflected on other sites.
To sync the pizza menu across all sites:
- Call Query Labels by the
name
field on the site where you updated the menu. - Extract the,
labels.id
,labels.name
andlabels.icon
field values. - Call Create Label for your other sites and pass the new item label to each.
- Call Update Item and add the new label ID to the
item.labels
array.
Was this helpful?
Yes
No