While fetching attribute info, if I apply search criteria in a nested way, it does not work. But in case of single search criteria it works perfectly.
Nested HTTP request:
http://192.168.1.180/magento/index.php/rest/V1/products/attributes?searchCriteria[filter_groups][0][...
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 non nested one, I get results for both size as well as color.
Non Nested:
http://192.168.1.180/magento/index.php/rest/V1/products/attributes?searchCriteria[filter_groups][0][...