public function get($userId)
    {
        $endpoint = '/admin/users/'.$userId.'.json';
        $response = $this->request($endpoint);
        return $this->createObject(User::class, $response['user']);
    }
public function get($userId)
    {
        $endpoint = '/admin/users/'.$userId.'.json';
        $response = $this->request($endpoint);
        return $this->createObject(User::class, $response['user']);
    }
public function get ( $ userId ) { $ endpoint = '/admin/users/' . $ userId . '.json' ; $ response = $ this -> request ( $ endpoint ) ; return $ this -> createObject ( User :: class , $ response [ 'user' ] ) ; }
Receive a single user

@link   https://help.shopify.com/api/reference/user#show
@param  integer $userId
@return User
Receive a single user