Problem:
I am trying to display products using below rest api with ref http://devdocs.magento.com/guides/v2.0/rest/retrieve-filtered-responses.html
GET http://192.168.0.133/index.php/rest/V1/products/?searchCriteria[filter_groups][0][filters][0][field]=category_gear&searchCriteria[filter_groups][0][filters][0][value]=8&searchCriteria[filter_groups][0][filters][0][condition_type]=finset&fields=items[sku,name]
I am getting response as
{
"items": null
}
Whereas I have 4 products in category/catalog
with id=8
What is the correct way to call the api
?
I am using magento 2.2.1