# Configuring Webhooks - To Get Shipment

**URL:** <https://community.shiphero.com/t/configuring-webhooks-to-get-shipment/636>\
**Category:** GraphQL API\
**Created:** [August 5, 2020, 5:26am UTC](https://community.shiphero.com/t/configuring-webhooks-to-get-shipment/636 "2020-08-05T05:26:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mangesh](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Mangesh](https://community.shiphero.com/u/Mangesh)\
**Post date:** [August 5, 2020, 5:26am UTC](https://community.shiphero.com/t/configuring-webhooks-to-get-shipment/636/1 "2020-08-05T05:26:27Z")

</div>

Hi,

I want to get the shipment details from the Shiphero, so to get the shipment information I have register the webhook “Shipment Update” through GraphQL API, but when evenever the shipment created in shiphero I am not getting anything on the endpoint url,

Register the Webhook “Shipment Update” :-\>  
mutation {  
webhook\_create(data: {  
name: “Shipment Update”,  
url: “[https://api.integrator.io/xxxxx](https://api.integrator.io/xxxxx)”  
}) {  
request\_id  
complexity  
webhook {  
name  
url  
}  
}  
}

And I have checked as the the webhook register or not, and i can see its registered,  
{  
“node”: {  
“id”: “QXBpVjE1Mjky”,  
“legacy\_id”: 16112122,  
“account\_id”: “QWNjb3VA==”,  
“shop\_name”: null,  
“name”: “Shipment Update”,  
“url”: “[https://api.integrator.io/XXXXXX](https://api.integrator.io/XXXXXX)”,  
“source”: “api”  
}  
}

So, My question is, why I am not getting when the shipment happened/created in shiphero,

If above api not worked, then I want to know which GraphQL API should I used to get the shipment information from Shiphero

Thanks  
Mangesh

---

<div class="post-metadata">

**Author:** ![scott](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@scott](https://community.shiphero.com/u/scott)\
**Post date:** [August 5, 2020, 7:53pm UTC](https://community.shiphero.com/t/configuring-webhooks-to-get-shipment/636/2 "2020-08-05T19:53:52Z")

</div>

I ran into a similar issue when first integrating with Shiphero. In our case it was during testing, and had to do with how we were creating the shipments in shiphero. If the order is marked as shipped via the webapp (app.shiphero) then we did not receive shipment webhooks. If the order is marked shipped via endeavour (endeavour.shiphero) then we did receive the webhooks.

---

<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 5, 2020, 10:05pm UTC](https://community.shiphero.com/t/configuring-webhooks-to-get-shipment/636/3 "2020-08-05T22:05:42Z")

</div>

Hi @Mangesh!  
Is there any chance you could provide me with the request\_id ?  
That way I could check the account to see if there is a setting issue or something else.

Thanks for adding that @scott ! yes that might also be an issue, because the webapp had a legacy code and was not being updated lately, that is why we recommended avoiding shipping from there. We currently deprecated that feature (a few days back) in order to avoid that confusion

Thanks in advance!  
Tom

---

<div class="post-metadata">

**Author:** ![Mangesh](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Mangesh](https://community.shiphero.com/u/Mangesh)\
**Post date:** [August 6, 2020, 1:13pm UTC](https://community.shiphero.com/t/configuring-webhooks-to-get-shipment/636/4 "2020-08-06T13:13:32Z")

</div>

Hi Tom,

This is the “request\_id”: “5f2152baad58e924bf903041” please check and let me know.

Thanks  
Mangesh

---

<div class="post-metadata">

**Author:** ![veraioele](https://avatars.discourse-cdn.com/v4/letter/v/fbc32d/32.png) [@veraioele](https://community.shiphero.com/u/veraioele)\
**Post date:** [August 6, 2020, 6:39pm UTC](https://community.shiphero.com/t/configuring-webhooks-to-get-shipment/636/5 "2020-08-06T18:39:31Z")

</div>

Hello, we shipped order via [shipping.shiphero.com](http://shipping.shiphero.com). This is the order:  
[https://app.shiphero.com/dashboard/orders/details/140171316](https://app.shiphero.com/dashboard/orders/details/140171316)

---

<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 6, 2020, 8:11pm UTC](https://community.shiphero.com/t/configuring-webhooks-to-get-shipment/636/6 "2020-08-06T20:11:08Z")

</div>

Hi @Mangesh @veraioele  
Did you received the webhook now?  
Thanks again for the info and the patience while we look into it  
Tom

---

<div class="post-metadata">

**Author:** ![Mangesh](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Mangesh](https://community.shiphero.com/u/Mangesh)\
**Post date:** [August 7, 2020, 4:03am UTC](https://community.shiphero.com/t/configuring-webhooks-to-get-shipment/636/7 "2020-08-07T04:03:33Z")

</div>

Hi Tom,

Yes I am able to see it now. What was the issue.

Thanks

Thanks  
Mangesh

---

<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 7, 2020, 5:55pm UTC](https://community.shiphero.com/t/configuring-webhooks-to-get-shipment/636/8 "2020-08-07T17:55:50Z")

</div>

Hi @Mangesh  
It appears that there were some data missing for that account, so when the webhook triggered it had an error and was not able to be properly sent, once I added the data I manually triggered and the issue was solved.  
I changed that manually so it should not be a problem anymore for this account, while we work in the root issue so it doesn’t happen in the future for other accounts.  
Thanks again!  
Tom
