How to make an API call from an independent website?

Highlighted
New Member
1 0 0

I have tried making get requests using this API format: 

https://{username}:{password}@{shop}.myshopify.com/admin/api/{api-version}/{resource}.json

 

I keep getting an error message that says: 

"Invalid API key or access token (unrecognized login or wrong password)"
But I am using the API key and secret key for my own store.
I am not sure why it says it is the wrong api key.
Any help is appreciated!

 

I have been following the documentation here: https://shopify.dev/tutorials/make-your-first-shopify-api-request#generate-api-credentials-from-the-...

0 Likes