Fetching attribute info, if I apply multiple filters in a single search criteria, it does not work. But in case of single filter it works perfectly.
Multiple filters HTTP request:
Output: { "items": [], "search_criteria": { "filter_groups": [ { "filters": [ { "field": "attribute_code", "value": "size", "condition_type": "eq" }, { "field": "attribute_code", "value": "color", "condition_type": "eq" } ] } ] }, "total_count": 0 } But when I hit the single filter one, I get results for both size as well as color.
Single filter:
UPDATE: Tried the in filter but still no results
{ "items": [], "search_criteria": { "filter_groups": [ { "filters": [ { "field": "attribute_code", "value": "color,size", "condition_type": "in" } ] } ] }, "total_count": 0 } UPDATE 2: Tried "in" in different filters
{ "items": [], "search_criteria": { "filter_groups": [ { "filters": [ { "field": "attribute_code", "value": "color", "condition_type": "in" }, { "field": "attribute_code", "value": "size", "condition_type": "in" } ] } ] }, "total_count": 0 } UPDATE 3: Tried "in" filter in separate filter groups
{ "items": [], "search_criteria": { "filter_groups": [ { "filters": [ { "field": "attribute_code", "value": "color", "condition_type": "in" } ] }, { "filters": [ { "field": "attribute_code", "value": "size", "condition_type": "in" } ] } ] }, "total_count": 0 }