Supervisor
Manage supervisor users within a store. Supervisors can be assigned to one or more branches and are granted read-only access by default. Additional operational permissions can be enabled through configurable flags and branch assignments.
List supervisors
Returns a paginated list of supervisors owned by the user
Create a new supervisor
Creates a new supervisor that will be owned by the user
Get own supervisor
Returns the details of the supervisor owned by the auth user
Get supervisor detail
Returns the details of a specific supervisor by id
Delete a supervisor by its id
Soft deletes a supervisor and its associated user account. All branches assigned to the supervisor are unassigned and all permissions granted to the supervisor are removed.
Assign or unassign branches to a supervisor
Replaces the supervisor branch assignments with the provided list. Branches included in the request are assigned to the supervisor and granted the required permissions. Branches previously assigned but omitted from the request are unassigned and their permissions are removed.
Update supervisor flags
Updates the supervisor operational flags. Only the provided flags are modified; omitted flags keep their current values. Available flags: qrActive and buyUsdtActive.