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 |
---|---|
11 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022