So I’ve been looking for a way to change the Stock Availability back to In Stock when the quantity field is greater than 0. The system already automatically changes the Stoc
This is what I had to do
var stock_data = new catalogInventoryStockItemUpdateEntity() { qty = quantity, is_in_stock = inStock, manage_stock = stockManaged, is_in_stockSpecified = true, };
is_in_stockSpecified is important
I used SOAP API to update stock status.