- Deprecation of method Tradebyte\Stock\Handler::updateStockFromStockList
- Deprecation of using Tradebyte\Stock\Model\Stock as parameter object-array with method Tradebyte\Stock\Handler::updateStock
- Added stock update support for several warehouses #13
$stockHandler->updateStock([
(new Tradebyte\Stock\Model\StockUpdate())
->setArticleNumber('12345')
->setStock(6)
]);
or
$stockHandler->updateStock([
(new Tradebyte\Stock\Model\StockUpdate())
->setArticleNumber('12345')
->addStockForWarehouse('zentrallager', 10)
->addStockForWarehouse('aussenlager', 5)
]);