I’ve got a script setup to add additional order items to an order after a POST purchase process runs.
The new order items appear on the order exactly as desired, but you can’t delete them from the order.
I discovered this while trying to test my code.
When I try to delete any order item that was added through the API, I get the following message:
java.lang.IllegalArgumentException: id must be valid
Any one have any ideas?
… just to clarify, I’m not trying to delete from the API, but through the Order Editor itself.