We are trying to retreive product details for a specific SKU and for a specific store by using the Magento SOAP API with the product.list method.
We can retrieve product details but they are defaulting to the default store and not the store ID that we are trying to filter by.
Here is the code:
$filters = array ( 'sku' => array('eq' => 'ABC') ); // Then we have tried both of the following which only show product information for the default store and not store ID 38 $products = $soap->call($session_id, 'product.list', $filters, '38'); $products = $soap->call($session_id, 'product.list', array($filters, '38');
Edit! - I've fixed it
$args = array( 'productId' => '7745-XXL', 'storeView' => 'pr_de_main_store' ); $product = $soap->call( $session_id, 'catalog_product.info', $args);