public function get($customerId, array $params = array())
    {
        $endpoint = '/admin/customers/'.$customerId.'.json';;
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Customer::class, $response['customer']);
    }
public function get($customerId, array $params = array())
    {
        $endpoint = '/admin/customers/'.$customerId.'.json';;
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Customer::class, $response['customer']);
    }
public function get ( $ customerId , array $ params = array ( ) ) { $ endpoint = '/admin/customers/' . $ customerId . '.json' ; ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( Customer :: class , $ response [ 'customer' ] ) ; }
Receive a single customer

@link   https://help.shopify.com/api/reference/customer#show
@param  integer $customerId
@param  array   $params
@return Customer
Receive a single customer