Model
StockItemImporter
Magento\CatalogImportExport\Model\StockItemImporter
What it does
This class handles bulk importing of stock/inventory data during product import operations.
Developers use this when importing product stock quantities and inventory settings from external sources like CSV files.
It processes stock data arrays and performs efficient database inserts using insertOnDuplicate to update existing records or create new ones.
Public Methods
- import()