Skip to main content

CommissionHierarchyRow

One row of the hierarchical commission setup: a staff user, their manager, their level, and the rate set for their role.

type CommissionHierarchyRow {
level: Int!
rate: Float
rateActive: Boolean!
reportsToName: String
reportsToUserId: String
role: String
userEmail: String
userId: String!
userName: String!
}

Fields​

CommissionHierarchyRow.level ● Int! non-null scalar​

The user's level, used only for display order.

CommissionHierarchyRow.rate ● Float scalar​

The rate set for the user's role, in percent. Empty means none is set.

CommissionHierarchyRow.rateActive ● Boolean! non-null scalar​

True when the rate is in force.

CommissionHierarchyRow.reportsToName ● String scalar​

The name of the user's primary manager.

CommissionHierarchyRow.reportsToUserId ● String scalar​

The ID of the user's primary manager.

CommissionHierarchyRow.role ● String scalar​

The user's role.

CommissionHierarchyRow.userEmail ● String scalar​

The email address of the staff user.

CommissionHierarchyRow.userId ● String! non-null scalar​

The ID of the user.

CommissionHierarchyRow.userName ● String! non-null scalar​

The name of the staff user.

Returned By​

commissionHierarchy query