I am trying to get products data having qty >=5 and I tried following options in Search Criteria
/rest/default/V1/products?searchCriteria[page_size]=20&searchCriteria[filter_groups][0][filters][0][field]=stock_item[qty]&searchCriteria[filter_groups][0][filters][0][value]=5&searchCriteria[filter_groups][0][filters][0][condition_type]=gteq
/rest/default/V1/products?searchCriteria[page_size]=20&searchCriteria[filter_groups][0][filters][0][field]=qty&searchCriteria[filter_groups][0][filters][0][value]=5&searchCriteria[filter_groups][0][filters][0][condition_type]=gteq
/rest/default/V1/products?searchCriteria[page_size]=20&searchCriteria[filter_groups][0][filters][0][field]=extension_attributes[qty]&searchCriteria[filter_groups][0][filters][0][value]=5&searchCriteria[filter_groups][0][filters][0][condition_type]=gteq
/rest/default/V1/products?searchCriteria[page_size]=20&searchCriteria[filter_groups][0][filters][0][field]=extension_attributes[stock_item[qty]]&searchCriteria[filter_groups][0][filters][0][value]=5&searchCriteria[filter_groups][0][filters][0][condition_type]=gteq
/rest/default/V1/products?searchCriteria[page_size]=20&searchCriteria[filter_groups][0][filters][0][field]=extension_attributes[stock_item][qty]&searchCriteria[filter_groups][0][filters][0][value]=5&searchCriteria[filter_groups][0][filters][0][condition_type]=gteq
but none of them is working for me, I have magento version 2.3.3 , having MSI but only 1 source.
and all are giving error as:
The "%1" attribute name is invalid. Reset the name and try again.