Focusing on managing products, variants, and collections through the API.
I'm facing an error using the REST API to retrieve products and orders from Shopify API.
I have created a custom app from Admin API and I gave to the custom app all read scopes (products, orders, etc). But when I try to make a GET request on mydomain.myshopify.com/admin/api/2023-07/products.json I always get a 404 error. I have added the header X-Shopify-Access-Token with the token I have on the dashboard of the Admin API.
I have this error for all the requests (orders, products, shop, etc).
Thank you for your help !
Solved! Go to the solution
This is an accepted solution.
Hey @imad21
Are you able to provide the exact URL that's returning a 404? (DM is fine).
Scott | Developer Advocate @ Shopify
This is an accepted solution.
Hey @imad21
Are you able to provide the exact URL that's returning a 404? (DM is fine).
Scott | Developer Advocate @ Shopify
For anyone coming across this thread - they had changed their myshopify domain. If you're seeing similar be sure to double check the *.myshopify.com address 🙂
Scott | Developer Advocate @ Shopify