confirmOrderEditRequestWorkflow and then reconciles reservations for every unfulfilled order item that comes from an offer with inventory links: desired quantities are computed as (ordered - fulfilled) × required_quantity per linked inventory item, and mismatching reservations are replaced with a correct set (one per linked item, bundle offers included). Triggered by POST /admin/order-edits/:id/confirm and POST /vendor/order-edits/:id/confirm. Events are emitted by the wrapped Medusa workflow.
Usage
Input
The order whose pending edit is confirmed.
Id of the user confirming the edit.
Result
Preview of the order with the confirmed edit applied.