Hello Everyone!
I have gone through all the docs related to shopify custom app and webhooks. But I am anxious about, “Is there any issue will face in future if I use the older version to generate the webhooks?”.
What will be consequences to do so?
Hi @Annex_Cloud
Welcome!
Once webhooks are registered, they’ll continue to fire even as Shopify changes Admin API versions.
The changes to the API versions affect mutations and queries from HTTP clients, those will need to be updated to stay in tandem with Shopify.
Is your concern that the webhooks’ API versions will expire and you’ll need to re-register them?
Thanks,
Dylan
Hello @Dylan
Q. Is your concern that the webhooks’ API versions will expire and you’ll need to re-register them?
Ans: Yes
Thanks
No, webhooks do not expire. If the data shape changes, Shopify will give plenty of notice in the API Health dashboard portion of your Shopify Partner portal.
Hello @Dylan
So, in such case we need to upgrade our code only… correct?
Regards,
Annex Cloud (Jitesh)
Yes @Annex_Cloud
But in my 5+ years using Shopify’s webhooks I can’t recall a time when I had to change my app’s code based on the shape changes.
The core is very stable. I’m not sure which attributes/resources you’re subscribing to, but the best bet is to follow the API changelog updates, since the webhook shape is also dictated by the resource/attribute deprecations and changes they announce.