# Automate Merging Orders?

**URL:** <https://community.shiphero.com/t/automate-merging-orders/2342>\
**Category:** GraphQL API\
**Created:** [February 2, 2023, 2:15am UTC](https://community.shiphero.com/t/automate-merging-orders/2342 "2023-02-02T02:15:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreaPS](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@AndreaPS](https://community.shiphero.com/u/AndreaPS)\
**Post date:** [February 2, 2023, 2:15am UTC](https://community.shiphero.com/t/automate-merging-orders/2342/1 "2023-02-02T02:15:40Z")

</div>

We flag mergeable orders based on matching customer name + shipping address. [https://shipping.shiphero.com/orders/merge/](https://shipping.shiphero.com/orders/merge/)

Is there a way to automate selecting the orders that meet the criteria and then merging them? I don’t see anything in the api that suggests this, nor an automation rule in shiphero that allows this.  
It would save our team time, our warehouse money and prevent mergeable orders from slipping through the pick window and being sent out separately.

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [February 2, 2023, 12:36pm UTC](https://community.shiphero.com/t/automate-merging-orders/2342/2 "2023-02-02T12:36:02Z")

</div>

Hey @AndreaPS,

Thanks for reaching out!  
Looking into this now.

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [February 3, 2023, 3:26pm UTC](https://community.shiphero.com/t/automate-merging-orders/2342/4 "2023-02-03T15:26:52Z")

</div>

Hey @AndreaPS,

Thanks for hanging in there!

I don’t believe there is any way to automate merging orders in ShipHero natively. I can go ahead and pass this feedback along to the team.

Let me know if there’s any questions or concerns.

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![atlatin](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@atlatin](https://community.shiphero.com/u/atlatin)\
**Post date:** [May 2, 2023, 10:24pm UTC](https://community.shiphero.com/t/automate-merging-orders/2342/6 "2023-05-02T22:24:50Z")

</div>

+1 this would be extremely helpful.

---

<div class="post-metadata">

**Author:** ![AndreaPS](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@AndreaPS](https://community.shiphero.com/u/AndreaPS)\
**Post date:** [May 23, 2023, 7:25pm UTC](https://community.shiphero.com/t/automate-merging-orders/2342/8 "2023-05-23T19:25:23Z")

</div>

A simple update to the orders query could function similar to how you added the ability to query for holds and have data returned via webhook:

```auto
query {
  orders (
    mergeable: boolean
  ) {
    data {
      edges {
        node {
          legacy_id
        }
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![domantas](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@domantas](https://community.shiphero.com/u/domantas)\
**Post date:** [September 22, 2023, 7:58am UTC](https://community.shiphero.com/t/automate-merging-orders/2342/9 "2023-09-22T07:58:25Z")

</div>

Would really save us some time and effort as well.

@sh-agent Any updates regarding this? is there a plan to make merging orders available through the API or in the automation rules anytime in the future?

Thanks

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [September 22, 2023, 11:36am UTC](https://community.shiphero.com/t/automate-merging-orders/2342/10 "2023-09-22T11:36:23Z")

</div>

Hey @domantas,

Thanks for reaching out and welcome to our Developer Community!  
There are no updates that I can share regarding this feature request at the moment.

Please let me know if you have any questions or concerns.

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![pgsadmin](https://avatars.discourse-cdn.com/v4/letter/p/a9a28c/32.png) [@pgsadmin](https://community.shiphero.com/u/pgsadmin)\
**Post date:** [March 15, 2024, 3:58pm UTC](https://community.shiphero.com/t/automate-merging-orders/2342/11 "2024-03-15T15:58:36Z")

</div>

+1 this would be very helpful. Any updates on this?
