magento

Add different price for multiple store using Magento SOAP API

Magento SOAP V1

You need to change price scope ‘Global’ to ‘website’ (Sysytem->Configuration->Catalog->Catalog->Price)

$client = new SoapClient('https://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>";

This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow