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'))
 )
 )
);
1 REPLY 1

Re: Filter SOAP v2 problem parameter catalogProductList by website_ids

Hi @morpheo983,

 

I'm not sure but you need to check this out:

http://devdocs.magento.com/guides/m1x/api/soap/catalog/catalogProduct/catalog_product.list.html

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now