qbo_time_activities_update
Sparse-update a QuickBooks Online TimeActivity record by providing only the fields you want to change. Requires the record ID and current sync token.
Instructions
Sparse-update an existing TimeActivity record. Only provided fields are changed; Id and SyncToken are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Hours | No | Duration hours portion | |
| NameOf | Yes | Whose time this is: "Employee" or "Vendor" | |
| EndTime | No | End time (ISO 8601), alternative to Hours+Minutes | |
| ItemRef | No | Service item the time is logged against, e.g. {"value": "7"} | |
| Minutes | No | Duration minutes portion | |
| Taxable | No | Whether the time is taxable when billed | |
| TxnDate | Yes | Activity date (YYYY-MM-DD) | |
| StartTime | No | Start time (ISO 8601), alternative to Hours+Minutes | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) | |
| VendorRef | No | Vendor reference when NameOf is "Vendor", e.g. {"value": "56"} | |
| HourlyRate | No | Hourly billing rate | |
| CustomerRef | No | Customer the time is billed to (optional) | |
| Description | No | Activity description | |
| EmployeeRef | No | Employee reference when NameOf is "Employee", e.g. {"value": "42"} | |
| BillableStatus | No | Billable status: "Billable", "NotBillable", or "HasBeenBilled" | |
| timeActivityId | Yes | The TimeActivity ID to update |