2

I try this scrpit to update special prices. The update is slowly. Is it possible to update any item in one request? In this issue I make request for every item.

SOAP V2

$proxy = new SoapClient('http://magentohost/api/v2_soap/?wsdl'); // TODO : change url
$sessionId = $proxy->login('apiUser', 'apiKey'); // TODO : change login and pwd if necessary

$result = $proxy->catalogProductSetSpecialPrice($sessionId, '2', '77.5', '2012-03-29 12:30:51', '2012-04-29 12:30:51');
var_dump($result);
2

In SOAP V2 this is not possible without introducing custom API endpoint (see example here). However, this can be achieved with multiCall, which is available in SOAP V1 or XML RPC APIs, see official dev docs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.