Deletion Sequence for Products with Inventory/Transactions using API

Hi everyone,

I am trying to use the OpenBoxes API to completely delete some test products and their linked inventory/lot items so I can start fresh.

Every time I try to run a delete command on a product, the API blocks it and throws a 500 server error saying the resource cannot be deleted because of an existing association.

What is the correct way or sequence to completely delete products and inventory items using the API?

Thanks,
Mustafa

@acayci This may have been a duplicate post that was addressed here How to delete products and inventory items via the API? - #2 by jmiranda . Let me know if that’s the case and I’ll remove it.