Magento SOAP V1

你需要將價格範圍 全域性 更改網站**** (系統 - >配置 - >目錄 - >目錄 - >價格)

$client = new SoapClient('http://your-web-site/api/soap/?wsdl');
$API_USER = 'your-api-user';
$API_KEY = 'your-api-key';
$session = $client->login($API_USER, $API_KEY);
$result = $client->call($session, 'catalog_product.update', array('test-product', array('price' => '100'),'your-store-code'));
print "<pre>";
print_r($result);
print "</pre>";