List of changes in PRODUCTS_UPDATED webhook

fullmetal
Shopify Partner
12 0 2

Is there a possibility that we could get an array of keys that have changed in the PRODUCTS_UPDATE webhook? This way, functions could be triggered when specific items are changed like: Update DB if inventory levels have changed. Currently, there's no way that I can see where we can determine what was changed without querying our own database and comparing.

Replies 2 (2)

AppDevs
Shopify Partner
3 0 0

Hello,

DId you get the solution to this? I'm facing the same problem. Could you please help me out if you have found any solution for this?

Thanks in advance.

fullmetal
Shopify Partner
12 0 2

I haven’t. The best I can do is compare the data to what I have stored in our database. It’s an annoying extra step and would be very easily solved if Shopify would add a list of keys that were edited