HierarchyUser
One user row in the hierarchy browser. The counts and revenue include the user and everyone who reports to them, directly or not.
type HierarchyUser {
avatar: String
customerCount: Int!
directReports: Int!
email: String!
firstName: String!
lastLogin: DateTime
lastName: String!
legacyRole: String
managerId: String
managerName: String
name: String!
orderCount: Int!
orgWide: Boolean!
ownCustomerCount: Int!
ownOrderCount: Int!
ownRevenue: Float!
phone: String
role: String
roleId: String
status: String!
teamSize: Int!
totalRevenue: Float!
userId: ID!
}
Fields
HierarchyUser.avatar ● String scalar
The URL of the user's picture.
HierarchyUser.customerCount ● Int! non-null scalar
How many customers the user and their team have.
HierarchyUser.directReports ● Int! non-null scalar
How many people report directly to the user.
HierarchyUser.email ● String! non-null scalar
Email address.
HierarchyUser.firstName ● String! non-null scalar
The user's first name.
HierarchyUser.lastLogin ● DateTime scalar
When the user last signed in.
HierarchyUser.lastName ● String! non-null scalar
The user's last name.
HierarchyUser.legacyRole ● String scalar
The older role value, kept for older mutations.
HierarchyUser.managerId ● String scalar
The ID of the user's manager.
HierarchyUser.managerName ● String scalar
The name of the user's manager.
HierarchyUser.name ● String! non-null scalar
The user's name.
HierarchyUser.orderCount ● Int! non-null scalar
How many orders the user and their team have.
HierarchyUser.orgWide ● Boolean! non-null scalar
True when the counts cover the whole organization, not just the people below the user.
HierarchyUser.ownCustomerCount ● Int! non-null scalar
The user's own share of the customer count.
HierarchyUser.ownOrderCount ● Int! non-null scalar
The user's own share of the order count.
HierarchyUser.ownRevenue ● Float! non-null scalar
The user's own share of the revenue.
HierarchyUser.phone ● String scalar
Phone number.
HierarchyUser.role ● String scalar
The user's role.
HierarchyUser.roleId ● String scalar
The ID of the role.
HierarchyUser.status ● String! non-null scalar
The status of the user.
HierarchyUser.teamSize ● Int! non-null scalar
How many people are below the user in all, not counting the user.
HierarchyUser.totalRevenue ● Float! non-null scalar
The revenue of the user and their team.
HierarchyUser.userId ● ID! non-null scalar
The ID of the user.
Member Of
HierarchyUserPage object