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

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

Found something useful, please give "Kudos" or "Accept as Solution" for Token of Appreciation.
Free Magento Extensions : https://magecomp.com/free-magento-extensions.html