Not able to get success response for the api Retrieves a list of all users/Retrieves a single user

Tried to use the ‘Retrieves a list of all users/Retrieves a single user’ api in postman but getting not found error(404)

Hi there!

A 404 error means that the route you have specified is not available in the API.

The admin API does not have a user’s route, but it does have a customers route!

You can use this API call get a paginated list of all the customers.

curl -X GET "https://your-development-store.myshopify.com/admin/api/2022-04/customers.json" \
-H "X-Shopify-Access-Token: {access_token}"

For more information, and lists of the API endpoints available, make sure you check out the documentation on Shopify.dev!

https://shopify.dev/api/admin-rest/2022-04/resources/customer#get-customers

I want to get the user or the agent who creates the order not the customer