# Multiple line\_items in shipment query

**URL:** <https://community.shiphero.com/t/multiple-line-items-in-shipment-query/2524>\
**Category:** GraphQL API\
**Created:** [July 6, 2023, 3:09pm UTC](https://community.shiphero.com/t/multiple-line-items-in-shipment-query/2524 "2023-07-06T15:09:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dev](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Dev](https://community.shiphero.com/u/Dev)\
**Post date:** [July 6, 2023, 3:09pm UTC](https://community.shiphero.com/t/multiple-line-items-in-shipment-query/2524/1 "2023-07-06T15:09:15Z")

</div>

Hey there

We tried testing the API response for some orders today and I got a confusing result in the shipments query.

Our contact with Shiphero marked an order as fulfilled, so I could work with the data in the API. The query for that shipment (which has only one item in the order) returns the exact same item 10 times:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/1X/6e45a6be549dfaf993abcfb99c682a498902f227.png)

I think this is an error on your side and causes some confusion with our software. Could you have a look into the shipment with the id U2hpcG1lbnQ6MzYxNTY5MDc2 please?

Thanks

Jakob

---

<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 6, 2023, 3:45pm UTC](https://community.shiphero.com/t/multiple-line-items-in-shipment-query/2524/2 "2023-07-06T15:45:10Z")

</div>

Hey @Dev,

Thanks for reaching out!  
I’ll go ahead and take a look at that shipment id and get back to you shortly.

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:** [July 6, 2023, 7:22pm UTC](https://community.shiphero.com/t/multiple-line-items-in-shipment-query/2524/3 "2023-07-06T19:22:45Z")

</div>

Hey @Dev,

Thanks for hanging in there!

Just wanted to give you an update. Now working with the team on this one, as there is definitely some odd behavior for that order.

Do you by chance have another order example of this happening?

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

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![Dev](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Dev](https://community.shiphero.com/u/Dev)\
**Post date:** [July 10, 2023, 9:29am UTC](https://community.shiphero.com/t/multiple-line-items-in-shipment-query/2524/4 "2023-07-10T09:29:46Z")

</div>

Hey RayanP

I guess the odd behaviour is due to the fact that these orders were never really shipped but only marked as fulfilled, so we could pull the data via the API. Another order of that kind would be U2hpcG1lbnQ6MzYxNTY5NTgx

I think even if the shipping was faked, it should not send multiples of the same item in the response.

Best  
Jakob

---

<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 11, 2023, 2:33pm UTC](https://community.shiphero.com/t/multiple-line-items-in-shipment-query/2524/5 "2023-07-11T14:33:41Z")

</div>

Hey @Dev,

Thanks for hanging in there!  
I’ve gone ahead and escalated this issue so our Engineering Team can take a look.

Please let me know if there’s anything I can assist with in the meantime.

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![Dev](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Dev](https://community.shiphero.com/u/Dev)\
**Post date:** [July 11, 2023, 2:45pm UTC](https://community.shiphero.com/t/multiple-line-items-in-shipment-query/2524/6 "2023-07-11T14:45:31Z")

</div>

Thank you! I am good for now, thanks a lot for your help.
