Inventory Adjustments
Retrieve an inventory adjustment
QuickBooks Desktop API
Core Resources
- Auth Sessions
- End Users
Utilities
Transactions
- All Transactions
- Bill Check Payments
- Bill Credit Card Payments
- Bills
- Checks
- Credit Card Charges
- Credit Card Credits
- Credit Memos
- Estimates
- Inventory Adjustments
- Invoices
- Item Receipts
- Journal Entries
- Purchase Orders
- Receive-Payments
- Sales Orders
- Sales Receipts
- Time Tracking Activities
- Transfers
- Vendor Credits
General
- Account Tax Lines
- Accounts
- Classes
- Company
- Customers / Jobs
- Date-Driven Terms
- Employees
- Inventory Sites
- Payment Methods
- Payroll Wage Items
- Preferences
- Price Levels
- Sales Representatives
- Sales-Tax Codes
- Standard Terms
- Vendors
Items
- Discount Items
- Inventory Assembly Items
- Inventory Items
- Item Groups
- Item Sites
- Non-Inventory Items
- Sales-Tax Items
- Service Items
- Subtotal Items
Inventory Adjustments
Retrieve an inventory adjustment
Retrieves an inventory adjustment by ID.
GET
/
quickbooks-desktop
/
inventory-adjustments
/
{id}
import Conductor from 'conductor-node';
const client = new Conductor({
apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
});
async function main() {
const inventoryAdjustment = await client.qbd.inventoryAdjustments.retrieve('123ABC-1234567890', {
conductorEndUserId: 'end_usr_1234567abcdefg',
});
console.log(inventoryAdjustment.id);
}
main();
{
"id": "123ABC-1234567890",
"objectType": "qbd_inventory_adjustment",
"createdAt": "2021-10-01T17:34:56.000Z",
"updatedAt": "2021-10-01T20:45:30.000Z",
"revisionNumber": "1721172183",
"account": {
"id": "80000001-1234567890",
"fullName": "Inventory Shrinkage"
},
"inventorySite": {
"id": "80000001-1234567890",
"fullName": "Main Warehouse"
},
"transactionDate": "2021-10-01",
"refNumber": "INVADJ-1234",
"customer": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"class": {
"id": "80000001-1234567890",
"fullName": "Inventory Adjustment"
},
"memo": "Adjusted quantity due to physical count discrepancy",
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"lines": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_inventory_adjustment_line",
"item": {
"id": "80000001-1234567890",
"fullName": "Widget A"
},
"serialNumber": "SN1234567890",
"serialNumberAction": "added",
"lotNumber": "LOT2023-001",
"expirationDate": "2025-12-31",
"inventorySiteLocation": {
"id": "80000001-1234567890",
"fullName": "Aisle 3, Shelf B"
},
"quantityDifference": 5,
"valueDifference": 7
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
Authorizations
Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}"
).
Headers
The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}"
).
Example:
"end_usr_1234567abcdefg"
Path Parameters
The QuickBooks-assigned unique identifier of the inventory adjustment to retrieve.
Example:
"123ABC-1234567890"
Response
200 - application/json
Returns the specified inventory adjustment.
The response is of type object
.
import Conductor from 'conductor-node';
const client = new Conductor({
apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
});
async function main() {
const inventoryAdjustment = await client.qbd.inventoryAdjustments.retrieve('123ABC-1234567890', {
conductorEndUserId: 'end_usr_1234567abcdefg',
});
console.log(inventoryAdjustment.id);
}
main();
{
"id": "123ABC-1234567890",
"objectType": "qbd_inventory_adjustment",
"createdAt": "2021-10-01T17:34:56.000Z",
"updatedAt": "2021-10-01T20:45:30.000Z",
"revisionNumber": "1721172183",
"account": {
"id": "80000001-1234567890",
"fullName": "Inventory Shrinkage"
},
"inventorySite": {
"id": "80000001-1234567890",
"fullName": "Main Warehouse"
},
"transactionDate": "2021-10-01",
"refNumber": "INVADJ-1234",
"customer": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"class": {
"id": "80000001-1234567890",
"fullName": "Inventory Adjustment"
},
"memo": "Adjusted quantity due to physical count discrepancy",
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"lines": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_inventory_adjustment_line",
"item": {
"id": "80000001-1234567890",
"fullName": "Widget A"
},
"serialNumber": "SN1234567890",
"serialNumberAction": "added",
"lotNumber": "LOT2023-001",
"expirationDate": "2025-12-31",
"inventorySiteLocation": {
"id": "80000001-1234567890",
"fullName": "Aisle 3, Shelf B"
},
"quantityDifference": 5,
"valueDifference": 7
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}