Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I have created a webhook for "returns/update". I've checked the webhooks.json and can see that it has been correctly registered.
{ "webhooks": [ { "id": 1531278754071, "address": "https://address/webhook/returns/update", "topic": "returns/update", "created_at": "2024-06-30T08:21:33+01:00", "updated_at": "2024-06-30T08:21:33+01:00", "format": "json", "fields": [], "metafield_namespaces": [], "api_version": "2024-07", "private_metafield_namespaces": [] }, { "id": 1531278786839, "address": "https://address/webhook/orders/updated", "topic": "orders/updated", "created_at": "2024-06-30T08:21:34+01:00", "updated_at": "2024-06-30T08:21:34+01:00", "format": "json", "fields": [], "metafield_namespaces": [], "api_version": "2024-07", "private_metafield_namespaces": [] } ] }
As far as I can tell everything is configured correctly for "returns/update".
When I create a return in the store the "returns/update" event doesn't trigger. The "orders/updated" webhook does but not the "returns/update". I can see the line item in the store with a status to "Return in progress (1)".
Has anyone managed to get this working?