Log in
Model

GetInventoryRequestFromOrder

Magento\InventorySourceSelectionApi\Model\GetInventoryRequestFromOrder

What it does

This class converts a Magento order into an inventory request object that can be used for source selection algorithms.

Developers use this when they need to determine which warehouse or inventory source should fulfill an order, as it packages the order details, stock information, and shipping address into a standardized format for the inventory source selection system.

Public Methods

  • execute()