List Sellers
Returns all active users with the SELLER role.Response
User unique identifier
Chilean tax ID (RUT)
User email address
User full name
User role (e.g., SELLER, ADMINISTRADOR)
Associated role ID
Whether the user is active
Whether the user is the tenant owner
Detailed role information including permissions
Example
List All Users
Returns all active users in the current tenant. Optionally filter by role.Query Parameters
Filter users by role name (e.g., SELLER, ADMINISTRADOR)
Response
Returns an array of user objects with the same structure as the sellers endpoint.Example
Create User
Creates a new user in both the global system and the local tenant. If the email doesn’t exist globally, a new SaaS user will be created.Request Body
User’s full name
User’s email address (used for login)
Password for new users (required if email doesn’t exist)
Chilean tax ID (RUT) - optional for staff
Role ID to assign to the user
Response
Returns the created user object with status code 201.Example
Update User
Updates an existing user’s information. The owner can only update their own name and password through this endpoint.Path Parameters
ID of the user to update
Request Body
User’s full name
User’s email address
New password for the user
New role ID to assign
Whether the user is active
Response
Returns the updated user object.Example
Deactivate User
Performs a soft delete by marking the user as inactive. The main administrator cannot deactivate themselves.Path Parameters
ID of the user to deactivate
Response
Returns status code 204 (No Content) on success.Example
Error Responses
Cannot deactivate the main administrator
Cannot delete a system user
User not found