I have product SKU.
using that i have to change product quantity As stock so how to do this.
I am getting a SKU and quantity like this
Array
(
[minimalVS] => 1
[seaglassin] => 0
[half_moon_knuckle_ring] => 90
[unique_Walnut_and_Cherry] => 8
[half_eternity_ring_Sapphire_ring] => 11
[ear_jacket] => 2
[short_Thin_Line] => 44
[totally_Awesome] => 1
[handcrafted_Leather_Briefcase] => 5
[militaryexpedition] => 5
)
Key as SKU and Value as Quantity means [sku] => quantity so how to change quantity