From the result, you can see whether inventory is being tracked for this product:
Update whether the product inventory is tracked:
For a non-tracked product, you should update the inStock value:
inStock
For tracked products, you should update quantity: