How to programatically transfer qty from one to other source

by Vivek   Last Updated February 11, 2019 10:09 AM

Does anyone has idea how to update product qty from one source to other programmatically ?

Bacially i've 2 sources in my magento setup. Let say currently Salable Qty = 50 and first source has 20 qty and other has 30 qty.

I want to transfer qty from first to other programmatically ?

Like, First contains 19 qty and other has 31 qty.

Related Questions

Install Magento 2.3 without multisource inventory

Updated December 06, 2018 12:09 PM

Dowonloadable Product with MSI

Updated February 07, 2019 11:09 AM

Magento Total salable qty displays wrong count

Updated February 14, 2019 06:09 AM

How to unassign stock programatically?

Updated March 04, 2019 09:09 AM