Development discussions around Shopify APIs
Is there a way to know if a store is a Test Store ?. I've read the Shop API docs but it looks like there's nothing I can use for this purpose.
Thanks in advance.
The plan_name property of a shop would reveal whether the shop is on an affiliate plan which is what your standard development shop will be on, or trial/any of the other plans we offer if the shop is live.
Alex | Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
thank you so much for that info, I do see plan_name = affiliate. I didn't know that was the way to identify a test store.
Hi @Alex ,
There are more plan_names partners have to be aware of to ensure that when we do things such as creating UsageCharges with test flags we do so correctly. For example there are staff and partner_test accounts. What other kinds of accounts should we be aware of? Can you provide us a list with descriptions for each possible plan_name value?
Hi @Alex ,
We'd really like an exhaustive list of possible plan names so that we can programatically act on them. This has been an open request for years.
Is it possible to have an exhaustive list?
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023
One of the key components to running a successful online business is having clear and co...By Ollie Mar 6, 2023