get https://apiv4.ordering.co////users
This API endpoint is used to obtain all users.
User Level Restrictions
For this request, there are specific responses depending on which type of user is making the request.
- Administrator: The response shows all users that exist no matter which level they have.
- Business Owner: The response shows all drivers that deliver to his businesses. The main use for this is to assign a driver to an order.
Using Ordering SDK
const response = await ordering.users().get();