---
title: "Update a sales representative"
method: POST
path: "/quickbooks-desktop/sales-representatives/{id}"
---

# Update a sales representative

`POST /quickbooks-desktop/sales-representatives/{id}`

Updates an existing sales representative.

## Path parameters

- `id` string, required — The QuickBooks-assigned unique identifier of the sales representative to update.

## Headers

- `Conductor-End-User-Id` string, required — The ID of the End-User to receive this request.

## Request body

- object
  - `revisionNumber` string, required — The current QuickBooks-assigned revision number of the sales representative object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.
  - `initial` string — The initials of this sales representative's name. Maximum length: 5 characters.
  - `isActive` boolean — Indicates whether this sales representative is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.
  - `entityId` string — The sales representative's corresponding person entity in QuickBooks, stored as either an employee, vendor, or other-name entry.

## Response `200`

Returns the updated sales representative.

- QbdSalesRepresentative
  - `id` string, 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"`.
  - `createdAt` string, 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.
  - `updatedAt` string, 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.
  - `revisionNumber` string, 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.
  - `initial` string, required — The initials of this sales representative's name.
  - `isActive` boolean, required — Indicates whether this sales representative is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.
  - `entity` object, required — The sales representative's corresponding person entity in QuickBooks, stored as either an employee, vendor, or other-name entry.
    - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
    - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.

## Changes

- **2026-05-02** `1de07095c4b7` — 2 warning
  - for the `path` request parameter `id`, the maxLength was set to `36`
  - the `entityId` request property's maxLength was set to `36`
- **2026-04-20** `10d4e9ebd1df` — 2 breaking
  - response property `entity/fullName` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `entity/id` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
- **2026-04-20** `8e0b7df2044d` — 2 breaking, 2 info
  - the response property `entity/fullName` became nullable for the status `200`
  - the response property `entity/id` became nullable for the status `200`
  - response property `entity/fullName` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `entity/id` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
- **2026-04-20** `5f832f695675` — 2 breaking
  - response property `entity/fullName` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `entity/id` list-of-types was widened by adding types `null` to media type `application/json` of response `200`

[Change history](https://skmtc.dev/conductor-is/apis/conductor-api/changes/quickbooks-desktop/sales-representatives/:id/post.md)

---

[API](https://skmtc.dev/conductor-is/apis/conductor-api.md) · [All operations](https://skmtc.dev/conductor-is/apis/conductor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/conductor-is/conductor-api/revisions/0b07b3ebe160/schema)
