The actual sequence: stock is reserved at creation, protected at Paid and Shipped, deducted at Delivered, and released on a pre-delivery cancellation. Order items cannot be edited once the order is Paid, Shipped, Delivered or Cancelled. See order management documentation and inventory management.