public function search(array $params = array())
    {
        $endpoint = '/admin/customers/search.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Customer::class, $response['customers']);
    }
public function search(array $params = array())
    {
        $endpoint = '/admin/customers/search.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Customer::class, $response['customers']);
    }
public function search ( array $ params = array ( ) ) { $ endpoint = '/admin/customers/search.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createCollection ( Customer :: class , $ response [ 'customers' ] ) ; }
Search for customers matching suppliied query

@link   https://help.shopify.com/api/reference/customer#search
@param  array $params
@return Customer[]
Search for customers matching suppliied query