Log in
Interface

BulkSourceAssignValidatorInterface

Magento\InventoryCatalogApi\Model\BulkSourceAssignValidatorInterface

What it does

This interface defines a contract for validating bulk assignments of inventory sources to products.

Developers implement this interface to create validators that ensure SKUs and source codes are valid before performing mass source assignments in Magento's Multi-Source Inventory (MSI) system.

It's used when assigning multiple products to multiple inventory sources at once.

Public Methods

  • validate()