• Модуль: seo
  • Путь к файлу: ~/bitrix/modules/seo/lib/businesssuite/catalog.php
  • Класс: Bitrix\Seo\BusinessSuite\Catalog
  • Вызов: Catalog::sendRequest
private function sendRequest(string $name, array $data = []): Response
{
	$businessId = $this->getBusinessId();
	if ($businessId === null)
	{
		return $this->createResponseWithError('Empty business id.');
	}

	return
		$this
			->getRequest()
			->send([
				'methodName' => $this->getMethodName($name),
				'parameters' => array_merge(
					$data,
					[
						'fbe_external_business_id' => $businessId,
					]
				),
			])
		;
}