/**
* Get the list of shops (and details) associated to the given user
*
* @throws Exception
*
* @return array Array of shop details
*/
public function getShops(AccessTokenStruct
$token) { $query =
['shopwareId' =>
$token->
getShopwareId()];
try { return $this->storeClient->
doAuthGetRequest($token, '/shops',
$query);
} catch (StoreException
$se) { throw $this->
translateExceptionMessage($se);
} } /**
* Requests the domain hash and filename needed to generate the
* validation key, so that the current domain can be validated
*
* @param string $domain
*
* @throws Exception
*
* @return array Filename and domain hash of the domain validation file
*/