I think I have the same issue as this question, but the answer wasn’t public:
https://community.shopify.com/post/2209368
All get requests come back with 404 errors.
For example: myshopify.com/admin/api/2023-07/products.json
Returns:
{"errors":"Not Found"}
I’ve tried with and without the X-Shopify-Access-Token, using curl, postman, and a browser.
I’ve also tried on various API versions.
Thank you for your help
I can help you. Open your store and go to Settings. Then go to Apps and sales channels. Click Develop apps and create a test app with any name. Go to Admin API integration and select all the scopes you need (for your products). Then save and go to API credentials. Click on Install app and save this token.
Open postman and paste your store link from admin api into the url (https://“store_url”/admin/api/2023-07/products.json).
Go to headers and paste it there:
key: X-Shopify-Access-Token
value: "your_token"
I checked and everything works fine. Enjoy.
Hi Romartiny, thank you for the help!
That didn’t quite work but it got me most of the way.
https://“store_url”/admin/api/2023-07/products.json ended up doing a redirect to
https://"key I’ve never seen before".myshopify.com/admin/api/…
Once I switched to that url everything worked.