For the shop/update webhook in new next-gen development stores, the shopifyPlan value now returns the actual plan name instead of “partner_test”. Previously, we used this webhook to verify if a store was a development store by checking for the “partner_test” shopifyPlan value, but this no longer seems possible.
The payload reference for this webhook topic is listed as “Shop,” but it does not return the complete Shop object. Many properties are missing. For instance, if it returned the full plan object, we would not be facing this issue.
(Reference: Shop - GraphQL Admin )
Currently, we can work around this problem by making an additional Shop GraphQL query when the webhook is triggered.
We require this check to detect when a development store initiates a Shopify plan. A long time ago, when a Shopify plan was initiated on a development store, our application would trigger the app/uninstalled webhook. This behavior later changed, and the plan transition started happening automatically without uninstalling the app.
Our request is to add a partnerDevelopment boolean value to the shop/update webhook payload.
Is there anything we are missing? Is there a different webhook topic that is triggered by the creation of a Shopify plan on development stores? If you are aware of a different solution, we would greatly appreciate it if you could let us know.