According to the docs, inventory adjustments can go from NONE to IN_STOCK, but no state can transition to NONE.
The
NONEstate is not a true inventory state.NONEis afrom_stateplaceholder to represent the fact that a givenCatalogItemVariationwas introduced as new inventory. Inventory quantities can be transitioned from theNONEstate, but cannot be transitioned to theNONEstate.
However I’m looking at my real POS data and discovering multiple instances of inventory adjustments. I notice that these inventory adjustments seem to be coming from external APIs:
"source":{"product":"EXTERNAL_API", ..., "name": "WooCommerce" }"
- Why is this behavior allowed?
- Are there implications/bugs arising from this?