Magento – Magento 2.3 REST API not working for default store – rest/V1/inventory/source-items

magento2magento2.3rest api

In Magento2.3

I'm using http://localhost/new-jk/rest/V1/inventory/source-items

it is working fine for all stores but only default is not updating properly

The service is updating quantity of product but the salable quantity does not change only for default stock.

can someone face this issue? please guide

Best Answer

You can simply indicate to your endpoint that you are fetching data from default store.
It should look like below:

http://localhost/new-jk/rest/default/V1/inventory/source-items
Related Topic