Update a sales representative
Updates an existing sales representative.
Path parameters
The QuickBooks-assigned unique identifier of the sales representative to update.
The QuickBooks-assigned unique identifier of the sales representative to update.
Headers
The ID of the End-User to receive this request.
The ID of the End-User to receive this request.
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
Changed in 4 of the 46 revisions of this API.622
- ●
for the
pathrequest parameterid, the maxLength was set to36request-parameter-max-length-set
- ●
the
entityIdrequest property's maxLength was set to36request-property-max-length-set
- ●
- ▲
response property
entity/fullNamelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
entity/idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
- ▲
the response property
entity/fullNamebecame nullable for the status200response-property-became-nullable
- ▲
the response property
entity/idbecame nullable for the status200response-property-became-nullable
- ○
response property
entity/fullNamelist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ○
response property
entity/idlist-of-types was narrowed by removing typesnullfrom media typeapplication/jsonof response200response-property-list-of-types-narrowed
- ▲
- ▲
response property
entity/fullNamelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲
response property
entity/idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ▲