> For the complete documentation index, see [llms.txt](https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-shpf.bsscommerce.com/b2b-wholesale-solution/order-management/manual-orders/editing-orders-from-the-backend.md).

# Editing Orders from the Backend

Edit, invoice and complete a manual order from the app — change products, addresses, discounts and shipping, email the invoice, or mark it as paid.

Open a saved manual order to change it, email the invoice to the customer, mark it as paid or download the invoice.

## Find and open the order

1. Go to **B2B orders & discounts › Manual Orders**. The list shows each draft order with its **Customer**, **Date**, **Total** and **Order status** (**Open** or **Completed**). Click **Refresh from Shopify** to pull the latest data.
2. Click the **pen icon** in the **Action** column. The **Edit order** page opens with the products, order summary, customer and addresses.

{% hint style="info" %}
Clicking the order ID opens the draft order in Shopify admin instead of the app.
{% endhint %}

You can also start from **Import draft order** on the **Create order** page and choose **Import to edit**. See [Create an order](/b2b-wholesale-solution/order-management/manual-orders/create-an-order-in-backend-with-discounts-manual-orders.md).

<figure><img src="https://1478990334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGolQYRPH9iUGYatlTXwl%2Fuploads%2Fgit-blob-e3d22864bd4ea12b0ea07541e0bd92b635851414%2Fcms-mo-edit-01.png?alt=media" alt="Open an order from the list"><figcaption><p>Open an order from the list</p></figcaption></figure>

## Change and save

* Change products and quantities.
* Use **Add discount**, **Edit shipping** or **Tax** in the order summary.
* Click **Edit** on **Shipping address** or **Billing address**.
* Change the tags and notes in the right column.

Click **Save** in the save bar. A **Draft order updated** message confirms the change.

<figure><img src="https://1478990334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGolQYRPH9iUGYatlTXwl%2Fuploads%2Fgit-blob-0f5621b28b2bbcdd9928f6e92c7b0c5d174df796%2Fcms-mo-edit-02.png?alt=media" alt="Edit a draft order"><figcaption><p>Edit a draft order</p></figcaption></figure>

## Email the invoice

1. Next to **Invoice**, click **Send invoice**.
2. Check **To** (the customer email), choose **From**, tick **Send BCC to** if needed, and edit the **Subject** and **Custom message (optional)**.
3. Click **Preview invoice**, then **Send invoice**.

{% hint style="info" %}
**Preview invoice** saves your latest changes to the draft order first. The email uses Shopify's invoice template, which you edit in Shopify admin under **Notifications**. The customer pays through your Shopify checkout.
{% endhint %}

<figure><img src="https://1478990334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGolQYRPH9iUGYatlTXwl%2Fuploads%2Fgit-blob-7cc5e3c38e646c0b765fccebe34e9cbb4af6a49f%2Fcms-mo-edit-03.png?alt=media" alt="Send the invoice"><figcaption><p>Send the invoice</p></figcaption></figure>

## Mark the order as paid

If the customer paid outside Shopify, click **Mark as paid** under **Payment**, then **Create order**. The app saves the draft order and completes it as a paid order in Shopify, and its status becomes **Completed**.

{% hint style="warning" %}
Finish your edits first: a completed order is locked for editing in the app.
{% endhint %}

**Send invoice** and **Mark as paid** are greyed out until the order has products, **Payment due later** is unticked and **Manual Orders** is switched on.

## Download the invoice

On a **Completed** order, click **Download invoice** at the top of the page to open the invoice in **Sufio: Professional Invoices**. This needs the Sufio integration turned on in **Integrations**. [Learn how to set up the Sufio integration →](/b2b-wholesale-solution/integration/sufio.md)

## Delete orders

On the Manual Orders list, select the orders and click **Delete**, then confirm. Deleting a draft order is permanent.

## FAQ

**The draft order was deleted in Shopify. What now?** The app shows *Can't view a deleted order*. Click **Create order** in that message to start a new one.

**Can I edit a completed order?** No. Use **Import draft order › Import to create** to copy it into a new draft.

{% hint style="info" %}
If you need further assistance, please feel free to reach us at [**support@bss-b2b.solutions**](mailto:support@bss-b2b.solutions) or [**Live Chat**](https://go.crisp.chat/chat/embed/?website_id=9f64b5a9-1a02-4190-93b8-8ef56b19f740).
{% endhint %}
