# Filter Shipments Based on Where Shipment Was Created (ShipHero vs. External)

**URL:** <https://community.shiphero.com/t/filter-shipments-based-on-where-shipment-was-created-shiphero-vs-external/651>\
**Category:** GraphQL API\
**Created:** [August 11, 2020, 3:54pm UTC](https://community.shiphero.com/t/filter-shipments-based-on-where-shipment-was-created-shiphero-vs-external/651 "2020-08-11T15:54:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![brett](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/brett/32/140_2.png) [@brett](https://community.shiphero.com/u/brett)\
**Post date:** [August 11, 2020, 3:54pm UTC](https://community.shiphero.com/t/filter-shipments-based-on-where-shipment-was-created-shiphero-vs-external/651/1 "2020-08-11T15:54:10Z")

</div>

Is it possible to query shipments and limit it to only those created via ShipHero and exclude those shipments that were shipped externally?

I’m trying to query for a specific shipment and when limiting the date range to a particular date I’m getting extra results that aren’t shown in the Web UI. In the Web UI I run the shipment report for the specific time period and it shows 11 records. When running the same GraphQL query on those dates, it’s bringing back shipments from our external fulfillment system (which ShipHero is going to replace). If I could add a filter to the query so that the shipments returned were only those created in ShipHero, that would be helpful as they’re the only ones we care about.

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [August 12, 2020, 12:31pm UTC](https://community.shiphero.com/t/filter-shipments-based-on-where-shipment-was-created-shiphero-vs-external/651/2 "2020-08-12T12:31:07Z")

</div>

Hi @brett  
Thanks for the details! I just created a Feature Request for this.  
We are working on adding the possibility of setting the `shipped_off_shiphero` field when creating a shipment through the Public API, that way, if this gets approved we could filter by `shipped_off_shiphero:false` and get the data you need  
I will let you know as soon as I have an update on this.  
Thanks again!  
Tom

---

<div class="post-metadata">

**Author:** ![barrettshepherd](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@barrettshepherd](https://community.shiphero.com/u/barrettshepherd)\
**Post date:** [July 12, 2022, 3:41pm UTC](https://community.shiphero.com/t/filter-shipments-based-on-where-shipment-was-created-shiphero-vs-external/651/3 "2022-07-12T15:41:13Z")

</div>

Hey,

Is it possible to filter shipments queries with shipped off ShipHero? We get a lot of data we then have to clean currently, and that’d really help!

---

<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:** [July 12, 2022, 7:43pm UTC](https://community.shiphero.com/t/filter-shipments-based-on-where-shipment-was-created-shiphero-vs-external/651/4 "2022-07-12T19:43:55Z")

</div>

Hey @barrettshepherd,

I’m going to bump this feature request again and hopefully get more eyes on it.

Thanks for your patience!

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![barrettshepherd](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@barrettshepherd](https://community.shiphero.com/u/barrettshepherd)\
**Post date:** [July 25, 2022, 7:49pm UTC](https://community.shiphero.com/t/filter-shipments-based-on-where-shipment-was-created-shiphero-vs-external/651/6 "2022-07-25T19:49:47Z")

</div>

Hey,

Or just a way to filter out shipments without shipping\_labels? Open to any solution that achieves the same outcome!

---

<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:** [July 26, 2022, 2:02pm UTC](https://community.shiphero.com/t/filter-shipments-based-on-where-shipment-was-created-shiphero-vs-external/651/7 "2022-07-26T14:02:40Z")

</div>

Hey @barrettshepherd,

Unfortunately, I don’t think that’s possible at the moment. On the bright side I do believe this feature request was approved, but I’m not 100% sure when it will be implemented.

Thanks for hanging in there!

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![barrettshepherd](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@barrettshepherd](https://community.shiphero.com/u/barrettshepherd)\
**Post date:** [January 5, 2023, 2:44am UTC](https://community.shiphero.com/t/filter-shipments-based-on-where-shipment-was-created-shiphero-vs-external/651/8 "2023-01-05T02:44:09Z")

</div>

Hey! Is it possible yet to filter by shipped\_off\_shiphero when querying shipments? We have quite a lot of dropshipping on our account which clogs shipment queries so trying to sort out how to solve this.

---

<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:** [January 5, 2023, 12:23pm UTC](https://community.shiphero.com/t/filter-shipments-based-on-where-shipment-was-created-shiphero-vs-external/651/9 "2023-01-05T12:23:13Z")

</div>

Hey @barrettshepherd,

Thank you for your patience here!

This feature is still planned for implementation, I’ll let you know when there’s an update here for that.

Let me know if there’s anything I can do to assist in the meantime.

Best,  
RayanP
