Determining if a store is in developer mode from API

I am currently working on an app to help developers of shopify apps. Some of the features are very useful when testing the app by generating dummy data, however the same feature could be very dangerous if run on a live shop.

 

We want to alert the user to this and ask confirmation if the user is on a live shop, but not if the user is in a development shop.

 

Is it possible to somehow know the "store type" from the API?

 

I have looked at this:https://shopify.dev/docs/admin-api/rest/reference/store-properties/shop

 

But I don't see any mention of development store or no.

 

Thanks!

https://www.merchbot.net
0 Likes