PDA

View Full Version : Simple getMerchant?


mega
09-06-07, 16:05
Hi,
How does getMerchant request work? I'm trying to get the details for the specific merchant, but instead I get back information for all of them (~400).
It looks like aMerchantIds parameter is being ignored...below is my code using nusoap:

$client = new soapclient("http://api.productserve.com/v1/ProductServeService?wsdl", 'wsdl');
$client->setHeaders($header);
$aParams= array("aMerchantIds" => array(782));
$result=$client->call('getMerchant',$aParams);
echo var_dump($result);