Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Maybe I have a wrong understanding of Shopify Webhooks, but I would like a webhook event when a product listing is updated or when a product collection is updated. product_listings/update webhook triggers both these events without distinguishing which one it is. I would have expected collection_listings/update to be called when the latter happens, but that is not the case.
Also, product_listings/update is called when an order is placed. I would have expected that only products/update be called, but both are called after an order is placed.
These Webhooks I wasn't able to add via the Shopify storefront. I had to use the Webhook API and POST with my API keys. I find it a bit confusing that some Webhooks are exposed to the Store and some need to be added via the API.
I'm not sure if this is an issue with the API or if I am misunderstanding the webhook events. I'd appreciate it if someone from the Developer team or anyone with experience using these Webhooks can provide insight on this. TIA.
Hello @rikin-mksp, welcome to the community! To address your questions:
To learn more visit the Shopify Help Center or the Community Blog.