Query

Query

Query

Retrieves a single sales rep from an account.

Request

Method
URL
GET

Path Parameters

Name
Required
Type
Description
accountUniqueId

Guid
The unique ID of the account.
itemUniqueId

Guid
The unique ID of the sales rep.

Headers

Name
Required
Type
Description
APIKey

Guid
A valid API key with a scope of SalesReps

Response

Headers

None

Status Code

Code
Description
200 OK
The sales rep was returned.
401 Unauthorized
The API key is missing, invalid, disabled, or does not have the correct scope.
403 Forbidden
The API key does not belong to this account, the account does not have the API keys feature enabled, or the key lacks the required scope.
404 Not Found
No sales rep was found with that id for this account.

Body

Name
Type
Description
uniqueId
Guid
The unique ID of the sales rep.
userEmail
Text
The resolved user's email address.
commission
Number
The commission rate.