1

I am using Magento-2.2.7 . If i call this endpoint /V1/products?searchCriteria , it always show each product having same quantity_and_stock_status . Whenever product is in_stock or out_of_stock it always show quantity_and_stock_status:1. Please help me to solve it.

  • Please give me solution for that problen. – Lovely Setia Jul 3 '19 at 11:35
0

This depends on the admin panel setting in:

Stores > Configuration > Catalog > Catalog > Inventory > Stock Options > Display Out of Stock Products

If this is set to NO, only products that are in stock will be returned.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.