REST API users

REST API users

Alexander_Gut
Visitor
1 0 0

Hi!

 

I'm trying to retrieve users data from the REST API but it always returns 404 Not Found.

I'm using the endpoint specified in the docs(with my store): 

 

"https://your-development-store.myshopify.com/admin/api/2022-01/users.json"

 

I've tried retrieving a single users and the currently logged-in users but it´s the same error.

I already use the token and URL to get data from transactions and it works perfectly. I've tried with Gift cards and it also works.

 

Is the URL wrong? Could I get some help with this?

 

Thanks!

Reply 1 (1)

GrahamS
Shopify Staff (Retired)
193 37 55

Hey @Alexander_Gut ,

 

Access to the Users API endpoint is granted after a review process through our Partner Support teamI. You'll need to have them review your private app for eligibility to use this resource, otherwise it will continue to return 404s regardless of your configuration. Link for contacting Partner Support HERE

To learn more visit the Shopify Help Center or the Community Blog.