I did a sort for product by price through API:
But there is no sort any help?
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 did a sort for product by price through API:
But there is no sort any help?
Maybe you should try to set index to zero after sortOrders
eg:
http://domain.com/index.php/rest/V1/products?searchCriteria[page_size]=10&searchCriteria[sortOrders][0][field]=price&searchCriteria[sortOrders][0][direction]=DESC
In URL you have passed wrong searchCritseria
spelling, Replace it with searchCriteria
and it should work.