Hi,
Basically I’ve setup webhooks for when a user creates or updates a product.
This webhook calls my server and updates the state of my app which is
tracking those changes.
But sometimes my app is the one initiating those product creates & updates
through a call to the Shopify api. In these situations I don’t want the
shopify webhook to tell me again about those changes, because I’ve already
updated the state of my app accordingly. These webhook calls are
duplicating those changes.
My solution right now is to keep deleting & re-creating these shopify
webhooks when the product create & update are not done by a user.
But this is cumbersome, it generates traffic to your api for nothing and
it’s error prone..