Log in
Interface

IsProductAssignedToStockInterface

Magento\InventoryApi\Model\IsProductAssignedToStockInterface

What it does

This interface defines a service contract for checking whether a specific product is assigned to a particular stock source in Magento's Multi-Source Inventory (MSI) system.

Developers use this to verify stock assignments before performing inventory operations, such as determining if a product can be fulfilled from a specific warehouse or stock location.

Public Methods

  • execute()