# Getting user name/id of shipper

**URL:** <https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157>\
**Category:** GraphQL API\
**Created:** [September 6, 2022, 7:10pm UTC](https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157 "2022-09-06T19:10:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.shiphero.com/u/Raj)\
**Post date:** [September 6, 2022, 7:10pm UTC](https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157/1 "2022-09-06T19:10:37Z")

</div>

Hi,  
I’m making a shipments query using date filters. This is an excerpt:

```auto
			  edges{
				node{
				  created_date
				  legacy_id
				  user_id
				  order{
				    id
					order_number
					shop_name
					fulfillment_status
				  }
				}

```

I need the username of shipper, but I will take user id as a compromise. But all the results are coming up with user\_id as null. I think this used to work earlier - has something changed or am I doing something wrong?  
Pls help.  
Thank you!

---

<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 6, 2022, 7:41pm UTC](https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157/2 "2022-09-06T19:41:39Z")

</div>

Hey @Raj,

Looking into this now. I’ll 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:** [September 6, 2022, 8:51pm UTC](https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157/3 "2022-09-06T20:51:54Z")

</div>

Hey @Raj,

I do believe you’ve found a bug. That field should not be returning a null value, I’m going to go ahead and escalate this issue to our Engineering Team. At the moment I’m unable to find a workaround to this issue.

We’ll keep you updated as the updates come in.

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.shiphero.com/u/Raj)\
**Post date:** [September 6, 2022, 8:56pm UTC](https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157/4 "2022-09-06T20:56:49Z")

</div>

Hey @sh-agent, thank you for confirming! It did seem like a bug but I didn’t want to assume that right away - usually the problem exists between my keyboard and chair lol

---

<div class="post-metadata">

**Author:** ![jeremyw](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@jeremyw](https://community.shiphero.com/u/jeremyw)\
**Post date:** [September 7, 2022, 10:28am UTC](https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157/5 "2022-09-07T10:28:23Z")

</div>

Another possibility is to use the packs\_per\_day query which includes the shipper name. I’m not sure if it will fit your workflow 100%, but you can also access the order information from there.

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.shiphero.com/u/Raj)\
**Post date:** [September 8, 2022, 3:32pm UTC](https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157/7 "2022-09-08T15:32:56Z")

</div>

Thank you @jeremyw , but I don’t think it’ll fit the needs in this case - as you rightly said.

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.shiphero.com/u/Raj)\
**Post date:** [September 19, 2022, 7:50pm UTC](https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157/8 "2022-09-19T19:50:53Z")

</div>

Hey @sh-agent, any update here pls?

---

<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 20, 2022, 1:55pm UTC](https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157/9 "2022-09-20T13:55:59Z")

</div>

Hey @Raj,

The code for this fix is currently in review. I’ll let you know when it’s deployed.  
Thank you for your patience in this matter!

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![Raj](https://avatars.discourse-cdn.com/v4/letter/r/c0e974/32.png) [@Raj](https://community.shiphero.com/u/Raj)\
**Post date:** [September 20, 2022, 2:05pm UTC](https://community.shiphero.com/t/getting-user-name-id-of-shipper/2157/10 "2022-09-20T14:05:36Z")

</div>

Got it, thank you @sh-agent!
