Install on development store

Solved
Highlighted
New Member
3 0 0

Hi,

 

I was wondering how/if I can tell when my app is installed on a development store. My end goal is to have different settings for development stores than then ones I have for live stores. I want to do this using the admin API when the app is installed. I have not found anything on the API reference.

Is there a way to know if a store is a development store or not using the admin API?

 

Thanks in advance

0 Likes
Highlighted
Shopify Staff
Shopify Staff
465 59 91

This is an accepted solution.

Hey @NikosFotiadis,

 

You can query the shop property to get the plan name.

 

GET /admin/shop.json

 

The fields plan_name and plan_display_name fields can tell you if the store is a development store. This is the response from my store which is a development  store which is using the developer preview.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes