# Determine customer account on Shipment Update webhook

**URL:** <https://community.shiphero.com/t/determine-customer-account-on-shipment-update-webhook/1210>\
**Category:** Getting Started\
**Created:** [March 19, 2021, 7:46pm UTC](https://community.shiphero.com/t/determine-customer-account-on-shipment-update-webhook/1210 "2021-03-19T19:46:27Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [March 20, 2021, 4:01pm UTC](https://community.shiphero.com/t/determine-customer-account-on-shipment-update-webhook/1210/3 "2021-03-20T16:01:05Z")

</div>

Hi @afroznissar  
Glad it is working!

> [@afroznissar](#):
>
> Now how do we determine which customer account the order that triggered the webhook is from? We need to set up the webhook for all our customer accounts but we need to know which customer it is from. I don’t see any way to determine that from the data received. The Generate Label webhook does provide the Company Name in the From Address but I don’t see anything like that from the Shipment Update webhook.

You should be able to determine that with one of the fields included on the Webhook

`"account_id": 7556`

This ID should be the one from the customer account.

> [@afroznissar](#):
>
> The other fields we need in the Shipment Update webhook are customs value and price. Strangely, there’s customs description but no customs value.

These fields should be displayed inside the line items array, like for example:

```
"line_items": [
                {
                    "sku": "1111111112222333",
                    "tariff_code": "00.00.00.000",
                    "price": 10.00,
                    "customs_description": "Paint Black",
                    "customs_value": "10.00",
                    "line_item_id": 4818261,
                    "quantity": 1,
                    "weight": 3.53,
                    "partner_line_item_id": "1612802371-5",
                    "id": "16120371-5",
                    "country_of_manufacture": "",
                    "product_name": "Paint Black",
                    "name": "Paint Black",
                    "ignore_on_customs": false
                }

```

Let us know if you are not receiving them.  
Thanks in advance!  
Tom

---

_[View the full topic](https://community.shiphero.com/t/determine-customer-account-on-shipment-update-webhook/1210)._
