Total Posts: 4
Hello Magento Community,
I have tried using the Magento API documentation via SOAP times output my product list, the whole thing looks like this:
However, I always get NULL as a result. What am I doing wrong?
//include the Magento API file - replace with your server path to the file
/***** Configuration ******/
$myAPILogin = 'login';
$myAPIKey = 'key';
// Begin SOAP Requests
$client = new SoapClient('https://shop-url.com/index.php/api/soap/?wsdl');
$session = $client->login($myAPILogin, $myAPIKey);
//get all my database products into an array
$products = $client->call($session, 'catalog_product.list');
echo "Starting product loop...<br/><br/>";
About fast help, I would appreciate it.
// Sorry for my bad english.