# Merge Orders

## Overview

With Sellercloud, you can seamlessly merge several same-channel orders from the same customer into a single order. This process can help you streamline shipping and significantly lower your fulfillment costs. The most common scenario for merging orders is when the same customer makes two separate purchases in quick succession.

Only [eBay](https://descartessystems.aha.io/pages/7630856168348785011), [Wholesale](https://help.sellercloud.com/omnichannel-ecommerce/wholesale/), and **Local Store** orders can be merged.

To revert a merge, use the [Split Order](https://descartessystems.aha.io/pages/7630852324897495961) action.

## Merge Orders

Merging orders is not supported by all sales channels. Therefore, Sellercloud [Customizations](https://help.sellercloud.com/omnichannel-ecommerce-category/customizations/) such as the [Order Rule Engine](https://descartessystems.aha.io/pages/7630837624614628704) and **Plugins** will not allow the merging of orders from channels other than **eBay**, **Wholesale**, and **Local Store**.

Orders with different **UserIDs** (email addresses) or **Ship To** addresses will not merge. The Queued Job will skip those orders.

To merge orders from the same customer:

1. Go to **Orders** > **Manage Orders**.
2. Search for orders or apply a [Saved Search](https://descartessystems.aha.io/pages/7630838405969463824).
3. Select the required orders by checking the boxes to their left.
4. Click the blue **Actions** icon at the bottom right and select **Merge Orders**.

5. This action generates a [Queued Job](https://descartessystems.aha.io/pages/7630838476388116703). Once completed, the ordered items will be merged and accommodated within the first-placed order.

### eBay

Sellercloud also lets you merge eBay orders from the same customer with the **Merge eBay Orders Order Export** plugin. You can configure the plugin to run automatically on any eligible orders with a [Scheduled Task](https://descartessystems.aha.io/pages/7630858715868958891) or execute it manually on specific orders. Orders are combined into the first one on the order list in the [Queued Job](https://descartessystems.aha.io/pages/7630838476388116703). The nearest [Promise Date](https://descartessystems.aha.io/pages/7630851179287217003) of the merged orders will remain on the combined order to ensure you fulfill them on time. Orders must meet the following requirements for the plugin to merge them:

- Created within the last 7 days
- The **Channel** must be **eBay**
- The **Shipping Status** must be **Unshipped**
- The **Payment Status** must be **Charged**
- The following **Shipping** **Address** details must match:
  - **First Name**
  - **Last Name**
  - **Street Line 1**
  - **Street Line 2**
  - **City**
  - **State**

To use this functionality, open a ticket with [Sellercloud Support](https://descartessystems.aha.io/pages/7630831494839563427) and request that the **Merge eBay Orders Order Export** plugin be installed on your server.

If you want to set up the plugin to run automatically, first, create a [Saved Search](https://descartessystems.aha.io/pages/7630838405969463824) for orders filtered by:

- **Order Date Range**– Last 7 Days
- **Order Status** – Processing
- **Payment Status** – Charged
- **Shipping Status**– Unshipped

To configure the plugin to merge eBay orders automatically:

1. Go to **Settings** > **Scheduled Tasks** > **Manage Scheduled Tasks**.
2. Click the green + icon: **Create New Scheduled Task.**
3. Complete as follows:
   - Click **Task Type** and select **Export Orders**.
   - Set the **Task Name**.
   - Select the **Company**.
   - Select the **Start Time**.
   - Click **CREATE**.
4. On the **Scheduled Task** page, click the **Edit** button at the top right corner.
5. In the **Details** panel:
   - Click the **User ID** menu and select your email.
   - Click the **Saved Search** menu and select the saved search you created earlier.
   - Click the **Export Via** menu and select **Merge eBay Orders Order Export**.
6. In the **Export Options** panel, set **Export To** to **None**.
7. In the **Frequency** panel, specify the task frequency. For optimal performance, set it to **Every 30 Minutes**.
8. In the **General** panel, click the **Enable** toggle button.
9. Click **Save**.

To execute the plugin on specific orders:

1. Go to **Orders > Manage Orders**.
2. Set up the filters to find the right orders or apply a [Saved Search](https://descartessystems.aha.io/pages/7630838405969463824).
3. Select the orders by checking the boxes on the left.
4. Click the blue **Actions** icon at the bottom right and select **Export > More Options**.

5. Select **Plugin** and set it to **Merge eBay Orders Order Export**.
6. Click **Export**. This action creates a [Queued Job](https://descartessystems.aha.io/pages/7630838476388116703). Once the job is completed, you will receive a [Notification](https://descartessystems.aha.io/pages/7630838100445037077).

Alternatively, you can use the **Merge eBay Orders Format** post-order plugin. To configure it, go to the [Company Defaults Page](https://descartessystems.aha.io/pages/7630849004436239866) and select it in the **Order Post Action Plugin** setting. Note that if the [Client Setting](https://descartessystems.aha.io/pages/7630835167106228692) **Enable Rule Engine Action For Post Order Plugin** is enabled, the **Order Post Action Plugin** setting won’t work, and you must configure the plugin using the [Order Rule Engine](https://descartessystems.aha.io/pages/7630837624614628704) instead.

### Groupon

**Groupon Goods** accounts will automatically merge orders placed within a certain time period of each other from the same customer. The information is sent from Groupon and is not determined by Sellercloud. For more information, see [Groupon Marketplace Account Integration](https://descartessystems.aha.io/pages/7630875403394783965).
