using ReviseItem; ReviseInventoryStatus to change quantity to 0
I'm trying to develop an API code to change the quantity of selected items to 0, but whenever I try, I get "Quantity is not valid for an item with variations", even of items that do NOT have variations! I do not understand this or what I am doing wrong. This just seems to happen with "0" - I can change the quantity to any else (or so it seems - I've only tested it with 1). I suspect that is the issue, but I'm not sure how to override this. Suggestion? P.S. I have seen this done before, but I don't know how they did it, so I know it is possible. Thank you.