Skip to main content

deleteRepCommissionRate

Requires permission commissions:commission:delete.

Removes a sales rep's commission profile and rate. Requires permission to delete commissions.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation DeleteRepCommissionRate($userId: String!) {
deleteRepCommissionRate(userId: $userId)
}

Variables:

{
"userId": "string"
}

Response:

{
"data": {
"deleteRepCommissionRate": true
}
}
deleteRepCommissionRate(
userId: String!
): Boolean!

Arguments​

deleteRepCommissionRate.userId ● String! non-null scalar​

The ID of the sales rep.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.