Interface
ExportStockIndexDataBySalesChannelInterface
Magento\InventoryExportStockApi\Api\ExportStockIndexDataBySalesChannelInterface
What it does
This interface defines a contract for exporting stock index data for products based on a specific sales channel (like website or store).
Developers would use this when they need to retrieve inventory availability data for all products associated with a particular sales channel, useful for external integrations, reporting, or syncing stock information with third-party systems.
Public Methods
- execute()