Log in
Model

GetProductIdsByStockIds

Magento\InventoryIndexer\Model\ResourceModel\GetProductIdsByStockIds

What it does

This class retrieves product entity IDs associated with specific stock IDs from the inventory index tables.

Developers use this when they need to identify which products are tracked in particular inventory stocks, such as when reindexing product data or synchronizing inventory information across different stock sources.

Public Methods

  • execute()