Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Updated quantity in inventory_levels/update webhook

Updated quantity in inventory_levels/update webhook

vinh0225
Shopify Partner
128 26 25

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'
}
Was my response useful?  Click Like to let me know!
Was your query resolved? ✓ Mark it as a Resolved Solution
If you need custom Shopify changes, ️you can hire me.
Contact me at  ✉️ jalicorich@gmail.com.
Replies 0 (0)