Focuses on API authentication, access scopes, and permission management.
I have installed a new app onto the shopify admin store. (I believe this app is considered private/custom)
My goal is to have the app set up to listen via webhooks for orders that are created in the store.
In order to test this app, I just made a simple authenticated request, but the response I'm getting is a oauthorize url. What am I doing wrong here?
```GET https://<SHOP_NAME>.myshopify.com/admin/api/2023-10/orders.json```
with headers: X-Shopify-Access-Token: <ACCESSS_TOKEN>
returns html response: with redirect link
```https://accounts.shopify.com/oauth/authorize?>>>>>>>>``
Solved! Go to the solution
This is an accepted solution.
Hi there 👋
To help with this sort of troubleshooting it is helpful to share the exact details about your request, because the problem could be very small. Sharing the exact code you are using, or if you are using an API client like Postman or Insomnia.
When you created your app, and generated your access token this was done through the Shopify Admin or the Partner Dashboard?
When you created your app you selected the read_orders scope?
To learn more visit the Shopify Help Center or the Community Blog.
This is an accepted solution.
Hi there 👋
To help with this sort of troubleshooting it is helpful to share the exact details about your request, because the problem could be very small. Sharing the exact code you are using, or if you are using an API client like Postman or Insomnia.
When you created your app, and generated your access token this was done through the Shopify Admin or the Partner Dashboard?
When you created your app you selected the read_orders scope?
To learn more visit the Shopify Help Center or the Community Blog.
Thank you, I realized It was Postman creating incorrect requests.