Previously I could adjust the product quantity to negative number via API, but now not

I am a new dev, I hope everyone can help me
Previously I could adjust the product quantity to negative number via API, but now not.

1 Like

Hey @ngo_anh_tu,

Can you share some specific details about the mutation your using and the exact response and error codes you’re getting back (the x-request-id from the response headers can help us locate this in our logs)?

Does the product have inventory tracking enabled and does your app have the necessary scopes for the inventory item and locations?

Are you able to adjust this to negative in the admin or is the issue limited to just the API?

thanks for your support.
in my query missing: ignoreCompareQuantity : true,

Hey,

If you are using inventoryAdjustQuantities - GraphQL Admin you can adjust quantities to negative numbers here.

2 Likes