Log in
Model

GetStockNamesByIds

Magento\InventorySalesAdminUi\Model\ResourceModel\GetStockNamesByIds

What it does

This class retrieves stock names from the database based on an array of stock IDs.

Developers use it when they need to display or process stock names in the admin UI, such as in order management or inventory reports, without loading full stock objects.

It provides an efficient way to fetch only the name data needed for display purposes.

Public Methods

  • execute()