A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
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?
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
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"
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.