We’ve subscribed to webhooks via the GraphQL Admin API. I can confirm with the “Shopify GraphiQL App” that we are only subscribed to the “PRODUCTS_UPDATE” webhook. We are using PHP at our endpoint. The webhooks have different webhook delivery ids in the headers so it’s not that we are recording the same data twice. These are sent within the same few milliseconds. This is not a fluke - it happens every-time without fail.
What has been checked:
- There are no webhooks in the dashboard under “Notifications”.
- There is only 1 api created webhook on our development store
- We’ve added header(‘HTTP/1.1 200 OK’);
- We’ve added http_response_code(200);
- In “Shopify Partners” > “Webhook Delivery Metrics” it only shows one webhook in the pair (sometimes the first sometimes the second).
- Tested actually visiting our endpoint URL manually and it only records one visit as it should, just not when updating a product on the Shopify dashboard.
Ex Webhook IDs Sent:
- 882a5faa-0180-40c0-b3ad-ed17e4e6750a
- 8ae01c7c-10a2-4480-a903-5367e3b6a34a
Any help would be appreciated so much! THANKS!