I have a task that requires to fetch unique products by collection ids and then filtered by tags.
The problem is that I can't figure out how to provide tags as a filter when a include products as relation from Collection. API says that "query" is not a valid argument.
If i trying to fetch all collections from products, it makes request costs more, and also I can't provide more than one tag per request.
Both solutions requires to do post-processing filtering.
What the best way to handle it?