Back to QuickBooks Purchase Orders
Connect Knoon AI with QuickBooks Purchase Orders (QuickBooks) to automate AI workflows.
Update an existing QuickBooks PurchaseOrder (sparse update).
quickBooksPurchaseOrderUpdate
BETA
Internal
Permissions
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| purchaseOrderId | mustache | QuickBooks PurchaseOrder ID. | Yes |
| syncToken | mustache | Sync token from the latest purchase order read. | Yes |
| vendorId | mustache | Optional vendor ID. | No |
| lineItemsJson | mustache | Optional JSON array of QBO Line objects. | No |
| txnDate | mustache | Optional transaction date (YYYY-MM-DD). | No |
| docNumber | mustache | Optional document number. | No |
| privateNote | mustache | Optional private note. | No |
| totalAmount | mustache | Optional total amount. | No |
| currencyCode | mustache | Optional currency code. | No |
| minorVersion | mustache | Optional QuickBooks minor version (defaults to 75). | No |
| payloadJson | mustache | Optional full PurchaseOrder JSON. If provided, it is merged with the fields above and takes precedence. | No |
Returns
| Name | Type | Description |
|---|---|---|
| id | string | Record ID. |
| name | string | Name or display name. |
| docNumber | string | Document number. |
| txnDate | string | Transaction date. |
| totalAmount | number | Total amount. |
| active | boolean | Whether the record is active. |
| syncToken | string | Sync token. |
| currencyCode | string | Currency code. |