qbo_departments_update
Update an existing QuickBooks Online department by providing only the fields to change. Requires department ID and current sync token.
Instructions
Sparse-update an existing Department record. Only provided fields are changed; Id and SyncToken are required.
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 |