Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Updated quantity in inventory_levels/update webhook

vinh0225
Shopify Partner
4 1 0

How to get the updated quantity of inventory when capturing inventory_levels/update webhook?

The payload contains only inventory_item_id, location_id, available, updated_at and admin_graphql_api_id.
Why Shopify team doesn't add updated_quantity here? Or is there any other alternative solution?

Here is the payload example:

{
  inventory_item_id: 48083112919313,
  location_id: 87276519697,
  available: 50,
  updated_at: '2023-11-24T02:30:21-05:00',
  admin_graphql_api_id:
'gid://shopify/InventoryLevel/123788624145?inventory_item_id=48083112919313'
}
Replies 0 (0)