Development discussions around Shopify APIs
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.
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
@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!
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.
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.
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 here. I 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
Thanks that helped. Is there no easier way to find it in one's account area?
I need help finding my store ID please
Hey, @rpengilly!
Ash here from the Shopify team. Welcome to the Shopify Community and to this thread.
Please refer to the post from @zahid3d29 above, as that explains how you can find your Shop ID without needing to contact our support team and preform authentication. Essentially you're able to add "/shop.json" after your stores URL (example: store.com/shop.json), and then use the search function to look for "shopID". The search function can usually be pulled up using "Command+F" or "Control+F".
@squareflo At this time there is no way to access the Shop ID within the admin area. In order to find your accounts Shop ID, either the above method can be used, or you can contact our support team via phone, chat or email and we can provide this information after completing authentication. The most efficient way to get your Shop ID is definitely to use the "/shop.json" method, however.
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
Hi!
I also need help to know my shopify store ID
It is really helpful.
I need help with finding my Shopify ID as well, could you help assist?
User | RANK |
---|---|
8 | |
7 | |
3 | |
3 | |
3 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By