UserRole
A user's role: SUPER_ADMIN, ADMIN, OWNER, MANAGER, SALES_REP, WAREHOUSE_STAFF, VIEWER, or a customer role CUSTOMER_ADMIN, CUSTOMER_BUYER or CUSTOMER_VIEWER.
enum UserRole {
ADMIN
CUSTOMER_ADMIN
CUSTOMER_BUYER
CUSTOMER_VIEWER
MANAGER
OWNER
SALES_REP
SUPER_ADMIN
VIEWER
WAREHOUSE_STAFF
}
Values
UserRole.ADMIN
Manages the organization's settings and users.
UserRole.CUSTOMER_ADMIN
Manages a customer company's account and team.
UserRole.CUSTOMER_BUYER
Places orders for a customer company.
UserRole.CUSTOMER_VIEWER
Views a customer company's orders only.
UserRole.MANAGER
Manages a team.
UserRole.OWNER
Owns the organization.
UserRole.SALES_REP
Sells to customers.
UserRole.SUPER_ADMIN
A platform administrator.
UserRole.VIEWER
Can view and cannot change data.
UserRole.WAREHOUSE_STAFF
Works in a warehouse.
Member Of
CreateUserInput input ● UpdateUserInput input ● User object