Retrieve an inventory item
Changed onRetrieves an inventory item by ID.
IMPORTANT: If you need to fetch multiple specific inventory items by ID, use the list endpoint instead with the ids parameter. It accepts an array of IDs so you can batch the request into a single call, which is significantly faster.
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/conductor-is/apis/conductor-api/docs/quickbooks-desktop/inventory-items/:id/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
The QuickBooks-assigned unique identifier of the inventory item to retrieve.
Headers
The ID of the End-User to receive this request.
Response
Returns the specified inventory item.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_inventory_item",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Cabinet",
"fullName": "Kitchen:Cabinet",
"barcode": "012345678905",
"isActive": true,
"class": {
"id": "80000001-1234567890",
"fullName": "Furniture"
},
"parent": {
"id": "80000001-1234567890",
"fullName": "Kitchen"
},
"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"
},
"reorderPoint": 50,
"maximumQuantityOnHand": 200,
"quantityOnHand": 150,
"averageCost": "16.50",
"quantityOnPurchaseOrder": 10,
"quantityOnSalesOrder": 10,
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}Changes
- breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status
- breaking
- warning
for the
pathrequest parameterid, the maxLength was set to36
- warning