# API Order Query returns incorrect SKU information

**URL:** <https://community.shiphero.com/t/api-order-query-returns-incorrect-sku-information/263>\
**Category:** GraphQL API\
**Created:** [December 13, 2019, 3:41pm UTC](https://community.shiphero.com/t/api-order-query-returns-incorrect-sku-information/263 "2019-12-13T15:41:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nturk](https://avatars.discourse-cdn.com/v4/letter/n/b487fb/32.png) [@nturk](https://community.shiphero.com/u/nturk)\
**Post date:** [December 13, 2019, 3:41pm UTC](https://community.shiphero.com/t/api-order-query-returns-incorrect-sku-information/263/1 "2019-12-13T15:41:30Z")

</div>

I am utilizing the ShipHero GraphQL API, and the order query I am doing is retrieving incorrect information.

The request\_id is “5df049a94bf8ea83e5b4e4fb”.

The SKU I am expecting is “sku”: “001-101-001-FGN-M-S”  
The SKU I am getting in the response is “sku”: “001-101-001-FGN-M-L”  
This is under “shipment\_line\_items” specifically.

Please let me know what I can do about this, or whether I’ll have to wait for a fix.

---

<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:** [December 13, 2019, 4:19pm UTC](https://community.shiphero.com/t/api-order-query-returns-incorrect-sku-information/263/2 "2019-12-13T16:19:18Z")

</div>

Hi @nturk!  
I apologize for the delay on our response (I’ve noticed you already engaged support and send us a mail to developers).  
It doesn’t seem to be an error on the Query, as a Shipment was created for that line\_item\_id

The shipment I’m referring to has been send via the Public API on 12/6/2019, 10:06:05 PM (request\_id:“5deafafdd53452ad6ef2a156”) and it had the following field:

line\_item\_id: “TGluZUl0ZW06MzE5NzE3NDIx”  
and it should have been:  
line\_item\_id: “TGluZUl0ZW06MzI0OTcwNzkx”

So that is the reason a Shipment was created with the wrong line\_item\_id  
Please let me know if this helps answer the issue or if you need any other info about it.  
Thanks for the patience on this!  
Tom

---

<div class="post-metadata">

**Author:** ![nturk](https://avatars.discourse-cdn.com/v4/letter/n/b487fb/32.png) [@nturk](https://community.shiphero.com/u/nturk)\
**Post date:** [December 16, 2019, 7:46pm UTC](https://community.shiphero.com/t/api-order-query-returns-incorrect-sku-information/263/3 "2019-12-16T19:46:02Z")

</div>

Hey @tomasw

Thanks for the update, this definitely helps!

Thanks,  
Nick
