Reputation: 880
Hi I need all product collection information in c# code of all products. Currently there are 3 products i have added, i am using Magento soap api v1 and visual studio 2015.
i have tried
var allprod = mservice.catalogProductAttributeList(mlogin, 1);
where mlogin is session 1 is setid
Upvotes: 0
Views: 594
Reputation: 880
catalogProductEntity[] resultArray = mservice.catalogProductList(mlogin, myfilter, null);
foreach (var prodid in resultArray) { catalogProductReturnEntity ResultAllProducts = mservice.catalogProductInfo(mlogin, prodid.product_id, null, null, null);
}
In ResultAllProducts we can get all items one by one.
like ResultAllProducts.name,ResultAllProducts.price,ResultAllProducts.product_id etc;
Upvotes: 1