Focusing on managing products, variants, and collections through the API.
I think I have the same issue as this question, but the answer wasn't public:
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
Solved! Go to the solution
This is an accepted solution.
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.
This is an accepted solution.
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
Once I switched to that url everything worked.