cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect information getting retrieved from magento 1.x inventory rest api

Incorrect information getting retrieved from magento 1.x inventory rest api

I am using magento 1.x inventory rest api to pull inventory info for a magento store. However, for many products, despite the "is_in_stock" being='0', the products are actually in stock. The "qty" is also='0' for many of these products. We checked the website's source code, but it did not give any leads about this discrepancy. We are not able to find any information in the retrieved data that gives a clue about whether the products are in stock or out of stock. It would be really helpful if someone can provide us any leads on this.

(P.S we are using Magento 1.9.2.4)

1 REPLY

Re: Incorrect information getting retrieved from magento 1.x inventory rest api

Has the indexers been run?

What's the configuration for inventory in system configuration? Is it set to allow ordering of products regardless of stock status?

Does the situation change if you go and save the product in admin without making any changes?

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!