Update a sales representative
Changed onUpdates an existing sales representative.
post/quickbooks-desktop/sales-representatives/{id}
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The QuickBooks-assigned unique identifier of the sales representative to update.
Example:80000001-1234567890
Headers
Conductor-End-User-Idstring required
The ID of the End-User to receive this request.
Example:end_usr_1234567abcdefg
Request body
Example request
{
"revisionNumber": "1721172183",
"initial": "JD",
"isActive": true,
"entityId": "80000001-1234567890"
}Response
Returns the updated sales representative.
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
- warning
for the
pathrequest parameterid, the maxLength was set to36 - warning
the
request property's maxLength was set to36
- warning
- breaking
response property
entity/fullNamelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
entity/idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
- breaking