How do I programatically determine which Shopify plan (Basic, Shopify, Advanced) a store is on?

Shopify Partner
58 3 15

I'd like for my app pricing to be based on the merchant's Shopify plan. Unfortunately there doesn't seem to be a nice way to map either ShopPlan.displayName or Shop.plan_name to one of the three non Shopify Plus plans (Basic, Shopify, Advanced - I can use ShopPlan.shopifyPlus to determine if the merchant is using a Shopify Plus plan.).

Is there a programmatic way to determine what plan a merchant is on?

It seems that this has been asked in the past with no official response from Shopify on the matter:

Thank you!

Replies 0 (0)