Log in
Model

GetWebsiteCodesByWebsiteIds

Magento\InventoryImportExport\Model\ResourceModel\Export\GetWebsiteCodesByWebsiteIds

What it does

This class retrieves website codes from the database based on an array of website IDs.

Developers use it during inventory export operations to convert numeric website IDs into their corresponding human-readable website code strings, which are typically needed for export file generation.

Public Methods

  • execute()