Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I've been working on a development store doing some testing to get my feet wet with Shopify app development and have run into a strange issues where I have the following:
Does anyone have any idea what might be going on here? Thanks!
Reviewing /admin/webhooks.json shows nothing ({"webhooks":[]})
How did you review it. An app that created the webhook should be able to see it in that request. If you're asking for a list of webhooks from another app, you won't see it.
From the docs:
Webhook subscriptions are scoped only to the app that they're registered to. This means that when a webhook subscription is registered to an app, other apps can't view, modify, or delete it. For more information about how to authenticate webhooks, seeUsing webhooks. For general information about authentication, see theOAuth documentation.
As for the trigger url itself, you're not using a localhost url for that are you? that's a common mistake i see.
For what it's worth, requesting the registered webhooks via the API using the access token associated with my test store did return the uninstall webhook, however the webhook still doesn't seem to be firing on app uninstallation (no entries whatsoever in access/error logs).