Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
I am updating the old app. I am changing the URL of the app while updating.
my old code in https://example.co
my new code in HTTP://example.io
I don't want to disturb my customer for app re-installation.
My old code was in ruby and the new code is in laravel.
Is there any way to update the webhook?
The Admin API has supports updating existing webhook subscriptions. You can use the REST Webhooks PUT endpoint, or the the GraphQL webhookSubscriptionUpdate mutation to achieve this.
armurray | Developer @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog