Background
It’s pretty typical for a Shopify app to provide functionality or filtering based on tags on a given resource.
This includes customer, order, product tags, etc.
Goal
Improve UX by presenting merchants with autocomplete options when typing in a tag name into a Shopify App.
Constraints
I don’t believe there is a list of all used tags for a given resource, so the best you can do is use a sample of the last N resources to guesstimate tags.
Suggestion
For each top level resource that’s taggable, include a tagsMeta object where we can view all tags within the particular account:
customers {
tagsMeta {
availableTags
}
}
Just a thought!