13. Juli 2009 13:41
<?php
// Parameters
$host= '*';
$apiuser= '*';
$apikey = '*';
// Connect
$proxy = new SoapClient('http://' . $host . '/index.php/api/?wsdl');
$sessionId = $proxy->login($apiuser,$apikey);
$produktinfos = $proxy->call($sessionId, 'product.info', '90155050');
print $produktinfos['price'] ." <br>";
$proxy->call($sessionId, 'product.update', array('90155050', array('price'=>'100.87')));
?>