Development discussions around Shopify APIs
Hi there,
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.
Hello,
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.
https://help.shopify.com/api/reference/shop
Cheers.
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?
Thank you
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.
https://community.shopify.com/c/shopify-apis-and-sdks/knowing-plan-name/td-p/687155
Is it possible to have an exhaustive list?
User | RANK |
---|---|
46 | |
16 | |
9 | |
9 | |
7 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023