I have some stores that installed my app a few years back, and have since uninstalled it (some as far back as 2021). But I just noticed that a few of these customers are still sending me inventory update webhook events. Whoops!
I no longer have an access token for these customers, so I’m unsure how to go about removing the webhook subscription for them that is still in place.
I should mention too that these event deliveries are sent via Amazon EventBridge. If they were delivered via http I think I could just return an error message from the handler for the shops in question and shopify would eventually remove the webhook, but to my knowledge there’s no way to “break the circuit” for messages delivered via eventbridge/pubsub.
Since you no longer have access tokens for these stores, you may need to reach out to Shopify Support for assistance in removing these subscriptions, as you won’t be able to use the webhookSubscriptionDelete mutation without an access token.