qbo_departments_update
Update a QuickBooks department with sparse changes: only specified fields are modified, while other details stay intact. Requires department ID and current SyncToken.
Instructions
Sparse-update an existing Department record. Only provided fields are changed; Id and SyncToken are required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"departmentId": "<departmentId>",
"SyncToken": "<SyncToken>",
"Name": "<Name>"
},
"name": "qbo_departments_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Name | Yes | Department name (required, must be unique within parent) | |
| Active | No | Whether the department is active | |
| ParentRef | No | Parent department for sub-departments | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) | |
| departmentId | Yes | The Department ID to update |