# Edit Existing Draft Order

Draft Order Magic lets you edit any existing draft order with advanced features that Shopify's default editor doesn't provide.

### Opening an existing draft order

#### From Draft Order Magic

1. Open Draft Order Magic from your Shopify apps
2. You'll see a list of all open draft orders
3. Click on the pencil icon to edit with Draft Order Magic.
4. The editor opens with that draft order loaded

<figure><img src="/files/IPPOTUXVeU6AnPe4HZug" alt=""><figcaption></figcaption></figure>

#### From Shopify admin

1. Go to **Orders** → **Drafts** in Shopify admin
2. Click on the draft order you want to edit
3. Shopify opens the draft order details page
4. If you are creating a draft order from scratch, make sure its initially saved. A basic draft order needs to be created **BEFORE** it can be edited. Just any basic information is enough for an initally save.
5. Click **More actions**
6. Click **Draft Order Edit**
7. Draft Order Magic editor opens

<figure><img src="/files/ZQUS7yAhZdb0CLfTRAYL" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
The "Draft Order Edit" option in the More actions menu only appears if Draft Order Magic is installed, and the draft order is initially saved. If you don't see it, make sure you save a basic draft order first (by adding a single product, or even just the customer name) and saving.
{% endhint %}

### What you can edit

Once the draft order is open in Draft Order Magic, you can modify:

* **Add products** - Search and add new items
* **Add the same product to different line items** (for individual customisation if required)
* **Remove products** - Delete line items you don't need
* **Change quantities** - Adjust how many of each item
* **Custom pricing** - Change prices per line item
* **Line item properties** - Add or modify custom properties
* **Reorder items** - Drag and drop to rearrange
* **Product Discounts**
* **Order attributes** - Add or modify custom order attributes

### Saving edited draft orders

After making changes:

1. Review all modifications
2. Click **Save** in the top right
3. Draft Order Magic updates the draft order in Shopify

Editing doesn't create a new version. You're modifying the existing draft order. The draft order ID stays the same and previous values are overwritten.

### Troubleshooting

#### "Draft order not found" error

* Draft order may have been completed or deleted
* Refresh the Draft Order Magic homepage
* Check if the draft still exists in Shopify admin

#### Changes not appearing after save

* Clear browser cache
* Refresh the page
* Check Shopify admin to confirm changes were saved

#### Can't modify certain fields

* Some fields like draft order number aren't editable
* Tax calculations depend on Shopify settings

[More troubleshooting →](https://github.com/horselditty/draft-order-docs/blob/main/support/troubleshooting/custom-prices-not-saving/README.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://responsive-media.gitbook.io/draft-order-magic/draft-order-editor/edit-existing-order.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
