Inventory Management

Magento Open Source and Adobe Commerce v2.3 include new and expanded features and APIs for inventory management. Inventory Management replaces all core APIs in the Open Source CatalogInventory module and the ScalableInventory module in Commerce. It also provides additional APIs to extend and add functionality.

Inventory Management features include:

Merchants install Inventory Management as part of v2.3.x and upgrades with the name magento/inventory-composer-metapackage. For details, see Install and Update Inventory Management.

Magento Community Contribution – Adobe thanks the many contributors to the Magento Inventory (was MSI) project, developing these features as part of the Magento Community Engineering program.

Terminology

The following terms are important as you work with Inventory Management APIs:

A simple scenario

The following diagram illustrates the relationship between source stocks, aggregate stocks, and sales channels:

Source and aggregate stock

In this diagram, a bicycle merchant has inventory for a mountain bike in two warehouses and a drop shipper. He has two stocks with configured website sales channels and sources. When a customer shops through the UK website, Magento aggregates bike inventory from the UK warehouse and the drop shipper sources, for a salable quantity of 95. The bike can be shipped from either the warehouse or the drop shipper, but not the NY warehouse. Amazon Marketplace has the same stock, drawing from the same aggregate stock as the UK website.

Important Inventory Management objects

Shipping algorithms

When merchants are ready to make a partial or full shipment, they select the source or sources from which to send the products. Customers typically want low-cost shipping and a guarantee of safe arrival of products, while the merchant needs to ensure minimal overhead for the inventory storage and shipping costs. Inventory Management includes an algorithm that takes these considerations into account and recommends the best shipping option or options. The application provides an algorithm for Priority, using the source priority per stock, where each source is given a priority in the scope of a specific sales channel, and for Distance, using the locations of sources and shipping destinations. Invenotry Management also supports developer-provided extensions for other algorithms based on criteria such as cheapest shipping and closest GPS location.