Within the realm of e-commerce, managing user permissions, roles, and categorizations is essential. Venddor IO's robust system provides you with an in-depth utility for managing user groups, ensuring a personalized experience for every user.
GET /api/usergroups/
GET /api/usergroups/:id
GET /api/users/:id/usergroups/
GET /api/users/:id/usergroups/:id
Do note that user group IDs 1 and 2 are specially designated for Guests and Registered users, and they cannot be modified or removed.
You can narrow down the user groups list using parameters:
Each user group is characterized by a set of fields:
POST /api/usergroups/
PUT /api/usergroups/:id/
DELETE /api/usergroups/:id
Obtain a detailed view of user's group affiliations, including their statuses within those groups.
Adjusting the status within a group can be done to add a user to a group or update their privileges.
Easily remove a user from a specific group either by adjusting their status or employing the DELETE method.