Good morning,
As the webhook body in the developers site says:
{ "webhook_type": "Inventory Change", "account_uuid": "QWNjb3VudDo2Mzg5OA==", "account_id": 18963, "warehouse_id": 76733, "warehouse_uuid": "V2FyZWhvdXNlOjc2NzMz", "user_id": 489254, "user_uuid": "VXNlcjoxNTg4MjY=", "sku": "LOT01", "quantity": 10, "location_name": "AA-05-01-01", "previous_on_hand": 110, "timestamp": "2025-02-03 13:19:30", "reason": "Change from the product page via the ShipHero Web Dashboard.", "source": "manual", "lot_id": 114475, "lot_uuid": "TG90OjExNDQ3NQ==", "lot_expiration": "2025-03-25" }
The webhook comes with location_name, but without the location_id. Is there a reason for that? Before the webhook was developed, we used a polling to the query of inventory changes and used location_id for different things.
Now that the webhook is available (thank you) we want to move away from the polling, but we see no reason why the webhook would come with the location_name, but without the location_id. Am I wrong? Was there a patch that brings the location_id but the developer site wasn’t updated yet? Or the id not being part of the body is intentional?
Thanks for your time.