getSalesChannelIdByAccessKey example

return $this->getAdminApiSource($userId);
        }

        if ($keyOrigin === 'integration') {
            $integrationId = $this->getIntegrationIdByAccessKey($clientId);

            return $this->getAdminApiSource(null, $integrationId);
        }

        if ($keyOrigin === 'sales-channel') {
            $salesChannelId = $this->getSalesChannelIdByAccessKey($clientId);

            return new SalesChannelApiSource($salesChannelId);
        }

        return new SystemSource();
    }

    /** * @param array{languageId: string, systemFallbackLanguageId: string} $params * * @return non-empty-array<string> */
Home | Imprint | This part of the site doesn't use cookies.