I want to fetch all the simple product. The result should not include any configurable products.
Currently i am fetching using this http://host/rest/default/V1/products?searchCriteria
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI want to fetch all the simple product. The result should not include any configurable products.
Currently i am fetching using this http://host/rest/default/V1/products?searchCriteria
Works For me:-
{{www.example.com}}/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=type_id&
searchCriteria[filter_groups][0][filters][0][condition_type]=eq&
searchCriteria[filter_groups][0][filters][0][value]=simple