www/apps/user-guide/app/orders/edit/page.mdx
import { EllipsisHorizontal, } from "@medusajs/icons"
export const metadata = {
title: Edit an Order’s Items in Medusa Admin,
}
In this guide, you’ll learn how to edit items in an order. This includes adding, updating, or deleting items.
Using the Medusa Admin, you can edit an order to:
When you request an order edit, the changes aren’t saved on the order until the order edit is confirmed. There are two ways to confirm an order edit request:
You can only request one order edit at a time. If you need to make additional changes, you’ll have to cancel the current order edit and request a new one, or force-confirm the current order edit.
To request an order edit:
Once requested, a new section "Order edit requested" will show at the top of the order's details page with the edit's details.
As mentioned in the beginning of this guide, the customer must confirm the order edit for the changes to be saved on the order. However, you can force-confirm an order edit if you need to make the changes immediately, or if the customer delegates you to do so.
<Note type="warning">Force-confirming an order edit makes irreversible changes to the order.
</Note>To force confirm an order edit:
This applies the changes to the order edit. If there are any additional payments required, you'll have to mark the order as paid or share a payment link manually.
For new items, you may see an "Allocate Items" button indicating that you need to allocate them manually from a stock location. Refer to this guide to learn how to do that.
After the order edit is confirmed, you can check if there are any outstanding amounts (to be captured from the customer or returned) in the Summary section.
To handle outstanding amounts by refunding or capturing the payment, refer to the Payments guide.
If the order edit added new items to the order, they'll be shown in the "Unfulfilled Items" section after the order edit is confirmed. You can then fulfill them as explained in this guide.
If an order edit request hasn't been confirmed yet, you can cancel it.
To cancel an order edit request:
The order edit will be canceled and the changes won't be saved on the order. The customer also can't confirm the order edit anymore.