Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Possible shop plan names from GraphQL shop query

Possible shop plan names from GraphQL shop query

Paul_vd_Dool
Shopify Partner
112 6 99

I know the REST API returns the `plan_name` on the shop endpoint from which you can determine the status of a shop. I can find posts that list possible values and I'm looking for something similar for the GraphQL response.

 

 

 

// query
{
  shop {
    name
    plan {
      displayName
      partnerDevelopment
      shopifyPlus
    }
  }
}

// response
{
  "data": {
    "shop": {
      "name": "shopify-shop-slug",
      "plan": {
        "displayName": "Developer Preview",
        "partnerDevelopment": true,
        "shopifyPlus": false
      }
    }
  }
}

 

 

 

I'm especially wondering what the response is for frozen, cancelled, closed or otherwise dormant shops.
Does anybody know?
Is there a way to find out?

Doppelganger - Managing duplicate user accounts
Replies 3 (3)

Paul_vd_Dool
Shopify Partner
112 6 99

I'm gonna list the ones I've found so far. If anybody has any to add, please do.

 

(list is case sensitive)

 

Basic Shopify

Shopify
Advanced Shopify

Shopify Plus

 

Pause and Build

custom

 

Development
Developer Preview

 

staff

Doppelganger - Managing duplicate user accounts
Fabien_Sebban
Shopify Partner
45 0 18

Thanks for the list. Did you find any other plan?

I found another list for the plan_name attribut of the API REST Shop object (https://shopify.dev/docs/api/admin-rest/2024-01/resources/shop)

 

"ANNUAL"
"affiliate"
"trial"
"basic"
"professional"
"unlimited"
"shopify_plus"
"staff"
"staff_business"
"dormant"
"npo_full"
"npo_lite"
"partner_test"
"plus_partner_sandbox"

Paul_vd_Dool
Shopify Partner
112 6 99

Let me add an updated list.

 

Basic Shopify
Shopify
Advanced Shopify
Shopify Plus

Pause and Build
custom
NPO Full
NPO Lite

Development
Developer Preview
trial

staff
staff_business

 

 

I couldn't find anything in my database for annual, affiliate or dormant but the rest of the list you mention is there I think.

Doppelganger - Managing duplicate user accounts