Magento 2.3 – How to Get Product Salable Quantity Using REST API

magento2magento2.3magento2.3.0rest api

I followed the Magento documentation regarding fetching Product Salable quantity using REST API.

https://devdocs.magento.com/guides/v2.3/rest/modules/inventory/check-salable-quantity.html

But I'm getting only 0 value for all products when I use get-product-salable-quantity API.

Can anyone help with this ASAP?

Best Answer

To check product salable quantity you can use this endpoint:

/V1/stockItems/{productSku} 

or

/V1/stockStatuses/{productSku}

method GET

more magento 2 endpoints here https://devdocs.magento.com/swagger/

especially catalogInventoryStockRegistryV1 group

Related Topic