Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
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' }