public List <ProductFindResult> CollectProducts(string filter)
        {
            ProductApi api = new ProductApi(site, company, username, password, cookie);

            List <ProductFindResult> results = api.FindProducts(filter, "Id", null, null, returnFields);

            logger.Info("Found " + results.Count + " products");
            return(results);
        }
        public List<ProductFindResult> CollectProducts(string filter)
        {
            ProductApi api = new ProductApi(site, company, username, password, cookie);

            List<ProductFindResult> results = api.FindProducts(filter, "Id", null, null, returnFields);
            logger.Info("Found " + results.Count + " products");
            return results;
        }