Retrieve a sales representative

Retrieves a sales representative by ID.

IMPORTANT: If you need to fetch multiple specific sales representatives by ID, use the list endpoint instead with the ids parameter. It accepts an array of IDs so you can batch the request into a single call, which is significantly faster.

get/quickbooks-desktop/sales-representatives/{id}

Path parameters

idstring required

The QuickBooks-assigned unique identifier of the sales representative to retrieve.

Example:80000001-1234567890

The QuickBooks-assigned unique identifier of the sales representative to retrieve.

Headers

Conductor-End-User-Idstring required

The ID of the End-User to receive this request.

Example:end_usr_1234567abcdefg

The ID of the End-User to receive this request.

Response

Returns the specified sales representative.

idstring required

The unique identifier assigned by QuickBooks to this sales representative. This ID is unique across all sales representatives but not across different QuickBooks object types.

objectType'qbd_sales_representative' required

The type of object. This value is always "qbd_sales_representative".

createdAtstring required

The date and time when this sales representative was created, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop interprets in the local timezone of the end-user's computer.

updatedAtstring required

The date and time when this sales representative was last updated, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop interprets in the local timezone of the end-user's computer.

revisionNumberstring required

The current QuickBooks-assigned revision number of this sales representative object, which changes each time the object is modified. When updating this object, you must provide the most recent revisionNumber to ensure you're working with the latest data; otherwise, the update will return an error.

initialstring required

The initials of this sales representative's name.

isActiveboolean required

Indicates whether this sales representative is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to true.

Example response

{
  "id": "80000001-1234567890",
  "objectType": "qbd_sales_representative",
  "createdAt": "2025-01-01T12:34:56+00:00",
  "updatedAt": "2025-02-01T12:34:56+00:00",
  "revisionNumber": "1721172183",
  "initial": "JD",
  "isActive": true,
  "entity": {
    "id": "80000001-1234567890",
    "fullName": "John Doe"
  }
}

Changes

Changed in 4 of the 46 revisions of this API.612

    • for the path request parameter id, the maxLength was set to 36

      request-parameter-max-length-set

    • response property entity/fullName list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property entity/id list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

  • 8e0b7df2044d22See the full diff
    • the response property entity/fullName became nullable for the status 200

      response-property-became-nullable

    • the response property entity/id became nullable for the status 200

      response-property-became-nullable

    • response property entity/fullName list-of-types was narrowed by removing types null from media type application/json of response 200

      response-property-list-of-types-narrowed

    • response property entity/id list-of-types was narrowed by removing types null from media type application/json of response 200

      response-property-list-of-types-narrowed

    • response property entity/fullName list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property entity/id list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened