qbo_accounts_update
Sparse-update an existing QuickBooks Online account by providing its ID, SyncToken, and updated fields. Only supplied values are modified.
Instructions
Sparse-update an existing Account record. Only provided fields are changed; Id and SyncToken are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Name | Yes | Account name (required, must be unique within parent) | |
| Active | No | Whether the account is active (inactive accounts are hidden) | |
| AcctNum | No | User-defined account number (if chart-of-accounts numbering is enabled) | |
| ParentRef | No | Parent account reference for sub-accounts, e.g. {"value": "42"} | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) | |
| accountId | Yes | The Account ID to update | |
| AccountType | No | High-level account type, e.g. Bank, Accounts Receivable, Income, Expense, Equity, Other Current Asset (required on create) | |
| CurrencyRef | No | Currency reference for multi-currency companies, e.g. {"value": "USD"} | |
| Description | No | Free-form description | |
| AccountSubType | No | Specific sub-type within the AccountType, e.g. Checking, SalesOfProductIncome |