As the title suggests, I’m looking for a solution to fetch all the product tags that a store has.
There’s this solution that does NOT work for my current problem I’ve got a store with 3,000 tags and as the maximum tags I can fetch is 250 and there’s no pagination or “after” parameter
{
shop{
productTags(first: 250){
edges{
node
}
}
}
}
The /admin/products/tags.json API easily returns what I need in the browser, and just as nicely returns an “Error: Not found” when querying in the backend.
The only solution I’ve got is to query ALL the products (>5,000) in order to fetch all the product tags.
Let’s say I’d go with this, except it takes over 3 minutes and results in an API timeout, which is rather not very convenient.
Is there anything else I could try?