Adapter/PlentymarketsAdapter/Client/Client.php
private function getHeaders($path)
    {
        $headers = [
            'Content-Type: application/json',
            'Accept: application/x.plentymarkets.v1+json',
            'cache-control: no-cache',
            'user-agent: ' . $this->getUserAgent(),
        ];

        if ('login' !== $path) {
            $headers[] = 'Authorization: Bearer ' . $this->accessToken;
        }

        return $headers;
    }
private function getHeaders($path)
    {
        $headers = [
            'Content-Type: application/json',
            'Accept: application/x.plentymarkets.v1+json',
            'cache-control: no-cache',
            'user-agent: ' . $this->getUserAgent(),
        ];

        if ('login' !== $path) {
            $headers[] = 'Authorization: Bearer ' . $this->accessToken;
        }

        return $headers;
    }
@param string $path

@return array