/**
* @param string $shopwareId
* @param string $password
*
* @throws Exception
*
* @return AccessTokenStruct
*/
public function getAccessToken($shopwareId,
$password) { $response =
$this->
doPostRequest( '/accesstokens',
[ 'shopwareId' =>
$shopwareId,
'password' =>
$password,
] );
return $this->structHydrator->
hydrateAccessToken($response,
$shopwareId);
} /**
* @param string $resource
* @param array<string, mixed> $params
* @param array<string, string> $headers
*
* @throws Exception
*
* @return array<string, mixed>
*/