How to smoothly migrate webhook endpoints for a large app?

marcreese
Shopify Partner
11 0 2

Hello,

 

I have a BIG running App on the store and I am planning to ship a whole new version (PHP to NodeJS app).

 

For some reasons, I need to change the domain where the app will be hosted.

 

So when ready, I will have to update the app url and all the different whitelisted urls in the Shopify partner admin within the app config.

 

But I have some trouble finding a clean and safe solution to migration the already registered webhooks for all my customers (different shops) to the new domain.

 

Ex: domain1.com/webhook/orders-create to domain2.com/webhook/orders-create

 

What would be the best way to make sure this transition will be smooth without asking all my customers to get into the /auth process ?

 

FYI: I dont have offline tokens for my customers, online online that expire under 24h

 

Thank you a lot 🙏

Replies 0 (0)