I have a script that checks the active plan of the user daily and changes it in the database.
I am currently making checks based on the plan name, but I realized this is not a reliable method because sometimes I receive a translated name. So it would be more secure to check the plan based on the plan ID instead.
As a developer or business owner, it’s a risk you choose to take or avoid. There are times we even use undocumented APIs. Some of them have been disabled after many years, like the transfers endpoint, for example: Transfers API Dead or Alive? - Shopify Community.
I hope they include planId in the 2025-04 release because it’s an obvious must-have. However, if they don’t, it’s your decision whether to use unstable version, try to find an undocumented endpoint, implement something else, or switch back to standard pricing.
So what’s the solution at the moment to identify which managed pricing a store has using the stable graphql api version? Should we use the display name in AppInstallation.activeSubscriptions.name? Isn’t there a better way of doing it?
I cant’ think they have released something like managed pricing without having a reliable way to check the current active plan (other than webhooks)