Update a class
Changed onUpdates an existing class.
post/quickbooks-desktop/classes/{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 class 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",
"name": "Marketing",
"isActive": true,
"parentId": "80000001-1234567890"
}Response
Returns the updated class.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_class",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Marketing",
"fullName": "Department:Marketing",
"isActive": true,
"parent": {
"id": "80000001-1234567890",
"fullName": "Department"
},
"sublevel": 1
}Changes
- warning
for the
pathrequest parameterid, the maxLength was set to36 - warning
the
request property's maxLength was set to36
- warning
- breaking
the
response's property type changed fromobjectnullto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status
- breaking