I am having a main category which has about 10 subcategories that include about 1000 products. Please note that this category is an anchor and its products are inherited from its subcategories. I am using the following code to fetch all the products inside that category, but I only get about 300 (which are assigned to the specific category, leftovers from before the category changed to anchor).
How can I make my API call to fetch all the SKUs of the products in the subcategories as well?
$productList = $mclient->call($session, 'catalog_category.assignedProducts', 279);
foreach($productList as $product){
$catProducts[] = array('catalog_product.info', $product['product_id']);
}
$result = $mclient->multiCall($session, $catProducts);