How to filter using an array of brand ids?

filtering
brands
javascript

#1

Hello,

I would like to filter products based on a set of brands (brand ids). I can see in the api filtering using only one brand id. so does moltin js api provide to filtering using a set of brand ids as an array, or I should call the api to filter by each id separately and merge the resulted calls together?

Thanks


#2

Hi @khaled1

Our category/brand/collection filtering on products is a recent addition so yes you’ll need to do separate queries for the time being.

Thanks,
James


#3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.