- Модуль: seo
- Путь к файлу: ~/bitrix/modules/seo/lib/businesssuite/catalog.php
- Класс: Bitrix\Seo\BusinessSuite\Catalog
- Вызов: Catalog::getProductsInfo
public function getProductsInfo(array $retailerIds): Response
{
if (empty($retailerIds))
{
return $this->createResponseWithError('Empty retailer ids.');
}
return $this->sendRequest('catalog.products.get.info', [
'catalog_id' => $this->getCatalogId(),
'filter' => Json::encode([
'retailer_id' => [
'is_any' => $retailerIds,
]
]),
'fields' => 'id, retailer_id, review_status, review_rejection_reasons',
]);
}