qbo_items_update
Update a QuickBooks Online Item record partially by providing only the fields to change, along with the Item ID and SyncToken.
Instructions
Sparse-update an existing Item record. Only provided fields are changed; Id and SyncToken are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Name | Yes | Item name (required, must be unique) | |
| Type | No | Item type: Inventory, NonInventory, or Service. Required on create unless QBO infers it. | |
| itemId | Yes | The Item ID to update | |
| Taxable | No | Whether the item is taxable on sales | |
| QtyOnHand | No | Initial on-hand quantity (Inventory items only) | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) | |
| UnitPrice | No | Default sales price | |
| Description | No | Sales description | |
| InvStartDate | No | Inventory start date (YYYY-MM-DD, Inventory items only) | |
| PurchaseCost | No | Default purchase cost | |
| PurchaseDesc | No | Purchase-side description | |
| AssetAccountRef | No | Asset account reference, required for Inventory items, e.g. {"value": "81"} | |
| IncomeAccountRef | No | Income account reference, e.g. {"value": "79"} (required for Inventory and Service items) | |
| ExpenseAccountRef | No | Expense or COGS account reference, e.g. {"value": "80"} (required for Inventory and NonInventory items) |