Enable or disable "Continue selling when out of stock" from the API

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.

1 Like