qbo_classes_update
Update an existing class record in QuickBooks Online by providing only the fields to change. Requires class ID and current SyncToken to modify class name or other attributes.
Instructions
Sparse-update an existing Class record. Only provided fields are changed; Id and SyncToken are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Name | Yes | Class name (required, must be unique within parent) | |
| Active | No | Whether the class is active | |
| classId | Yes | The Class ID to update | |
| ParentRef | No | Parent class for sub-classes, e.g. {"value": "3"} | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) |