Update a non-inventory item
Changed onUpdates a non-inventory item. You can modify either salesOrPurchaseDetails or salesAndPurchaseDetails, but the item must keep the same configuration it was created with. When you change postingAccount, incomeAccount, or expenseAccount, include the matching updateExistingTransactions... flag so QuickBooks applies the new account to existing transactions and doesn’t reject the update when historical activity is present.
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The QuickBooks-assigned unique identifier of the non-inventory item to update.
Headers
The ID of the End-User to receive this request.
Request body
Example request
{
"revisionNumber": "1721172183",
"name": "Printer Ink Cartridge",
"barcode": {
"value": "012345678905"
},
"isActive": true,
"classId": "80000001-1234567890",
"parentId": "80000001-1234567890",
"sku": "MPN-123456",
"unitOfMeasureSetId": "80000001-1234567890",
"salesTaxCodeId": "80000001-1234567890",
"salesOrPurchaseDetails": {
"description": "Hourly Consulting Service",
"price": "19.99",
"pricePercentage": "10.5",
"postingAccountId": "80000001-1234567890"
},
"salesAndPurchaseDetails": {
"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",
"expenseAccountId": "80000001-1234567890",
"preferredVendorId": "80000001-1234567890"
}
}Response
Returns the updated non-inventory item.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_non_inventory_item",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Printer Ink Cartridge",
"fullName": "Office Supplies:Printer Ink Cartridge",
"barcode": "012345678905",
"isActive": true,
"class": {
"id": "80000001-1234567890",
"fullName": "Administrative"
},
"parent": {
"id": "80000001-1234567890",
"fullName": "Office Supplies"
},
"sublevel": 1,
"sku": "MPN-123456",
"unitOfMeasureSet": {
"id": "80000001-1234567890",
"fullName": "Weight Units"
},
"salesTaxCode": {
"id": "80000001-1234567890",
"fullName": "Non"
},
"salesOrPurchaseDetails": {
"description": "Hourly Consulting Service",
"price": "19.99",
"pricePercentage": "10.5",
"postingAccount": {
"id": "80000001-1234567890",
"fullName": "Income:Consulting Services"
}
},
"salesAndPurchaseDetails": {
"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"
},
"expenseAccount": {
"id": "80000001-1234567890",
"fullName": "Expenses:Cost of Goods Sold"
},
"preferredVendor": {
"id": "80000001-1234567890",
"fullName": "Acme Supplies Ltd."
}
},
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}Changes
- warning
the
/request property's maxLength was set to50 - warning
the
/request property's maxLength was set to4095 - warning
the
/request property's maxLength was set to4095 - warning
the
/request property's maxLength was set to4095 - warning
the
request property's maxLength was set to31
- warning
- warning
for the
pathrequest parameterid, the maxLength was set to36 - warning
the
request property's maxLength was set to36 - warning
the
request property's maxLength was set to36 - warning
the
/request property's maxLength was set to36 - warning
the
/request property's maxLength was set to36 - warning
the
/request property's maxLength was set to36 - warning
the
/request property's maxLength was set to36 - warning
the
/request property's maxLength was set to36 - warning
the
request property's maxLength was set to36 - warning
the
request property's maxLength was set to36
- warning