Update an inventory assembly item
Updates an inventory assembly item. If you change the income account, set updateExistingTransactionsIncomeAccount to true so QuickBooks applies the new account to existing transactions that use the assembly.
post/quickbooks-desktop/inventory-assembly-items/{id}
Path parameters
idstring required
The QuickBooks-assigned unique identifier of the inventory assembly item to update.
Example:80000001-1234567890
The QuickBooks-assigned unique identifier of the inventory assembly item to update.
Headers
Conductor-End-User-Idstring required
The ID of the End-User to receive this request.
Example:end_usr_1234567abcdefg
The ID of the End-User to receive this request.
Request body
Example request
{
"revisionNumber": "1721172183",
"name": "Deluxe Kit",
"barcode": {
"value": "012345678905"
},
"isActive": true,
"classId": "80000001-1234567890",
"parentId": "80000001-1234567890",
"sku": "MPN-123456",
"unitOfMeasureSetId": "80000001-1234567890",
"salesTaxCodeId": "80000001-1234567890",
"salesDescription": "High-quality steel bolts suitable for construction",
"salesPrice": "19.99",
"incomeAccountId": "80000001-1234567890",
"purchaseDescription": "Bulk purchase of steel bolts for inventory",
"purchaseCost": "15.75",
"purchaseTaxCodeId": "80000001-1234567890",
"cogsAccountId": "80000001-1234567890",
"preferredVendorId": "80000001-1234567890",
"assetAccountId": "80000001-1234567890",
"buildNotificationThreshold": 10,
"maximumQuantityOnHand": 200,
"lines": [
{
"inventoryItemId": "80000001-1234567890",
"quantity": 5
}
]
}Response
Returns the updated inventory assembly item.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_inventory_assembly_item",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Deluxe Kit",
"fullName": "Assemblies:Deluxe Kit",
"barcode": "012345678905",
"isActive": true,
"class": {
"id": "80000001-1234567890",
"fullName": "Finished Goods"
},
"parent": {
"id": "80000001-1234567890",
"fullName": "Assemblies"
},
"sublevel": 1,
"sku": "MPN-123456",
"unitOfMeasureSet": {
"id": "80000001-1234567890",
"fullName": "Weight Units"
},
"salesTaxCode": {
"id": "80000001-1234567890",
"fullName": "Non"
},
"salesDescription": "High-quality steel bolts suitable for construction",
"salesPrice": "19.99",
"incomeAccount": {
"id": "80000001-1234567890",
"fullName": "Income:Product Sales"
},
"purchaseDescription": "Bulk purchase of steel bolts for inventory",
"purchaseCost": "15.75",
"purchaseTaxCode": {
"id": "80000001-1234567890",
"fullName": "GST"
},
"cogsAccount": {
"id": "80000001-1234567890",
"fullName": "Expenses:COGS"
},
"preferredVendor": {
"id": "80000001-1234567890",
"fullName": "Acme Supplies Ltd."
},
"assetAccount": {
"id": "80000001-1234567890",
"fullName": "Assets:Inventory"
},
"buildNotificationThreshold": 10,
"maximumQuantityOnHand": 200,
"quantityOnHand": 150,
"averageCost": "16.50",
"quantityOnPurchaseOrder": 10,
"quantityOnSalesOrder": 10,
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"lines": [
{
"inventoryItem": {
"id": "80000001-1234567890",
"fullName": "Inventory Item"
},
"quantity": 5
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}