Do not return to stock
There is an override setting in Edit Order that will cause all of the line items in your original order to not be returned to stock upon editing.
Do not return to stock is an override setting that will prevent an out-of-stock product from momentarily appearing as in-stock on your store, which in some cases may trigger a notification email being sent to customers waiting to purchase that item
To use this override when editing an order, scroll down to the Settings section toward the bottom of the editing screen, and check the box next to Do not return to stock:
Got questions?Drop us a line at: firstname.lastname@example.org