Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Can we change webhook without re-install app?

Can we change webhook without re-install app?

shikhas20
Shopify Partner
12 0 1

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?

Reply 1 (1)

armurray
Shopify Staff
15 4 3

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