Código PHP:
<?php
$proxy = new SoapClient('http:/mihost/api/v2_soap/?wsdl'); // TODO : change url
$sessionId = $proxy->login('prueba', 'prueba'); // TODO : change login and pwd if necessary
$params = array('complex_filter'=>
array(
array('key'=>'name','value'=>array('key' =>'eq','value' => 'Cande'))
)
);
$result = $proxy->catalogProductList($sessionId, $params);
var_dump($result);
Código PHP:
<?php
$proxy = new SoapClient('http:/mihost/api/v2_soap/?wsdl'); // TODO : change url
$sessionId = $proxy->login('prueba', 'prueba'); // TODO : change login and pwd if necessary
$params = array('complex_filter'=>
array(
array('key'=>'name','value'=>array('key' =>'like','value' => 'Cande'))
)
);
$result = $proxy->catalogProductList($sessionId, $params);
var_dump($result);