Setting stock to 0 does not update state to 'Out of Stock'

I’m testing our implementation of the Inventory API webhooks, and I see some confusing info coming from the webhooks. I added inventory tracking to variation 46EP6GJWASPPKDZCZXI7BX46 and set the stock to 0. I then added stock, and again set stock to 0. The webhook I received is showing the quantity as 0 (accurate) but the state is still showing IN_STOCK. I would expect that setting the quantity to 0 would trigger the state to change to out of stock, is this incorrect?

The most recent webhook showing this is showing event ID a4114214-0cf4-482e-b7fb-6b00ea36b831

:wave: Currently with the Inventory API there isn’t an InventoryState of OUT_OF_STOCK or SOLD_OUT. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team. :slightly_smiling_face:

Thanks! Good to know.