How to Identify if a Shop is a test shop or a live one ?

Developer3
New Member
2 0 0

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.

0 Likes
Alex
Shopify Staff
Shopify Staff
1555 81 306

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.

0 Likes
Developer3
New Member
2 0 0

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.

0 Likes

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

TrackPack

Gain shipment visibility, increase customer confidence and optimize your customer support using TrackPack's Email / SMS shipping notifications and order tracking page generator.
0 Likes