Posted on

Magento SOAP v1 – updating product by SKU

I want to update product by it’s SKU. I’ve found that it is possible to do with following code:

$client->call($sessionId, ‘catalog_product.update’, array($product_sku, array(
‘stock’ => $stock)), null, ‘SKU’);

And… it doesn’t work.

What am I doing wrong ?

Leave a Reply

Your email address will not be published. Required fields are marked *