Where Can I find the Shop_ID of my store?

Highlighted
New Member
3 0 0

Hello,

 

I want to know the "shop_id" of my store, what way can I get it? I need it because I will be request through of AJAX API.

 https://{shop_id}.myshopify.com/cart.js

Thanks.

0 Likes
Highlighted
Shopify Staff
Shopify Staff
442 36 58

Hi, @gmoreno!

 

Ash here from the Shopify team.

 

I'm happy to provide you with the shop_id for your store. I do first need to authenticate you on the shop in question however. I've just sent an email to the email address associated with your Shopify Community account. Please reply to that email and let me know your .myshopify.com URL. If you use an alternate email address to log in to your Shopify account, please let me know in the email reply. 

Looking forward to hearing back!

Ash | Social Care @ 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

0 Likes
Highlighted
New Member
3 0 0

@Ash  Hello, I too need to know the shop_id of my store. Please help.

0 Likes
Highlighted
New Member
3 0 0

@Ash  Hello, I tried to retrieve the list of items in cart using  https://shop_id.myshopify.com/cart.js as end point in my DefaultGET http message, as suggested in https://shopify.dev/docs/themes/ajax-api/getting-started. But this is not working, it is giving the following response:

{"status":404,"message":"Not Found","description":"The page you were looking for does not exist."}

Could you please advise as to how we can retrieve the list of items added in cart?

Thank you in advance!

0 Likes
Highlighted
Shopify Partner
5 0 2

Hello, I think you can get your shop id easily from your store URL. Just add "/shop.json" after your store URL and press Enter. Then ctrl+f and search for "shopId" word. You will see some information about your store including ShopId. Let me know if it's help you. Thank You.

2 Likes
Highlighted
Shopify Partner
5 0 2

Hello, I think you can get your shop id easily from your store URL. Just add "/shop.json" after your store URL and press Enter. Then ctrl+f and search for "shopId" word. You will see some information about your store including ShopId. Let me know if it's help you. Thank You.

0 Likes
Shopify Staff
Shopify Staff
442 36 58

Hey, @O_Upadhyay!

Ash here from the Shopify team. Welcome to the Shopify Community! 

While I would be able to track down your ShopID from my end, @zahid3d29 brings up a great solution to get this from your own end! By adding /shop.json to the end of your domain, you'll be able to use the find function on your keyboard to search for your ShopID. 

As for your second question, it looks like you're inquiring about API related features. This would be outside of my expertise, but you're able to find a wealth of information in our API documentation here or our API forums hereI suggest browsing through the API forums to seek a similar topic, and if you're unable to find one, you can create your own new post dedicated to your specific API question. 

Ash | Social Care @ 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

1 Like
Highlighted
New Member
3 0 0

Thankyou so much!

0 Likes