New Inventory API question - Is it possible to get the source event which triggered the inventory_levels/update webhook?

Ankit14
Shopify Partner
27 0 3

Hi Shopify Team,

This is a question regarding the new Inventory Update hook.

There are are various events which trigger Inventory Update hooks, For example: Order Creation, Restock, Manual Adjustment, Location Deletion / Activation.

How can we identify the event which caused the inventory change?  Is it possible to get this nformation in the webhook?

-Ankit

gonzamontiel
New Member
3 0 0

Hi, I'm also interested in the source of the event, specially if the change was generated via API or because of an order, etc. Any answer on this?

0 Likes