Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

URL to access order API now requesting credentials

URL to access order API now requesting credentials

stephenmed
Visitor
2 0 1

 

This is probably really simple, but I can not figure it out....

 

I used to be able to access recent orders via API by entering the following URL:

 

https://{mystore}.myshopify.com/admin/api/2023-07/orders.json

 

Now when I enter this link, I'm asked to enter my Username & Password. I've tried everything I can think of. Even created a custom app and entered the Key & Secret Key....... Even tried including this in the URL..... 

 

What am I missing?

 

 

 

 

Reply 1 (1)

SBD_
Shopify Staff
1831 273 422

Hey @stephenmed 

 

That URL works when you have an active session in the admin (logged in). If you're sending the request from an app, you can pass along a token like this (click the REST example).

Scott | Developer Advocate @ Shopify