cancel
Showing results for 
Search instead for 
Did you mean: 

Filter SOAP v2 problem parameter catalogProductList by website_ids

Filter SOAP v2 problem parameter catalogProductList by website_ids

hi, i need to filter products in  catalogProductList call by website_ids argument.

i try to use different solutions but with no result.

Problem seems how to pass array of strings as argument of the query.

 

$params = array('filter' => array( 
  array('key' => 'website_ids', 'value' =>  array('1','13'))
)); 

Alternative:
$complexFilter = array(
 'complex_filter' => array(
 array(
 'key' => 'website_ids',
 'value' => array('key' => 'eq', 'value' => array('1','13'))
 )
 )
);