Why inventory_quantity is still writable in REST Admin API Product PUT request? Also if I want to update product details and the inventory_quantity key is not passed in the request body then also it resets the Product Quantity on shopify. How can I solve this situation and update my product details through API without affected the quantity of the product?
Solved! Go to the solution
This is an accepted solution.
If you're using a private app, and the store only has one location, you can still edit the
inventory_quantity on the variant (although it's deprecated behaviour). That being said, not passing the key does not reset the product quantity on Shopify, that's likely a bug in your application.