Merhaba arkadaşlar kod aşağıdadır. Sonuç hep aynı dönüyor ürünü bulamıyor.
public function UpdateStockByStockSellerCode($products = array())
{
$this->setUrl('https://api.n11.com/ws/ProductStockService.wsdl');
self::$_parameters['stockItems']['stockItem']['sellerStockCode'] = "Stok Kodu";
self::$_parameters['stockItems']['stockItem']['quantity'] = "5";
self::$_parameters['stockItems']['stockItem']['version'] = "";
$result[] = self::$_sclient->UpdateStockByStockSellerCode(self::$_parameters);
return $result;Dönen sonuç budur. Ürünün n11 kendi stok kodumu da yazıyorum aynı sonuç ürün n11 Id de yazıyorum aynı sonucu veriyor.
Array
(
[0] => stdClass Object
(
[result] => stdClass Object
(
[status] => failure
[errorCode] => SELLER_API.notFound
[errorMessage] => XXXX bulunamadı
[errorCategory] => SELLER_API
)
)
)