I would like to know how I can use the API to change this setting for some products.
The idea is that we will have a negative stock limit and when we reach it, we want to stop taking orders.
I would like to know how I can use the API to change this setting for some products.
The idea is that we will have a negative stock limit and when we reach it, we want to stop taking orders.
Hey there - you can do this by updating the inventory_policy using the productVariantUpdate mutation.
Check out the docs for the mutation here, and the inventory_policy attribute here.