Retrieve an inventory site
Changed onRetrieves an inventory site by ID.
IMPORTANT: If you need to fetch multiple specific inventory sites 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-sites/:id/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
The QuickBooks-assigned unique identifier of the inventory site to retrieve.
Headers
The ID of the End-User to receive this request.
Response
Returns the specified inventory site.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_inventory_site",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Stockroom",
"isActive": true,
"parent": {
"id": "80000001-1234567890",
"fullName": "Romulus Warehouse:Stockroom"
},
"isDefault": true,
"description": "Main Stockroom for Electronics",
"contact": "Jane Smith",
"phone": "+1-555-123-4567",
"fax": "+1-555-555-1212",
"email": "inventory-site@example.com",
"address": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States"
}
}Changes
- warning
for the
pathrequest parameterid, the maxLength was set to36
- warning
- breaking
response property
contactlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
descriptionlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
emaillist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
faxlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
isDefaultlist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
response property
phonelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200 - breaking
the
response's property type changed fromobjectnullto 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 - info
added
subschema #2to theresponse propertyanyOflist for the response status - info
added
subschema #1subschema #2to theresponse propertyanyOflist for the response status - info
removed
subschema #2from theresponse propertyoneOflist for the response status
- breaking