Update an inventory adjustment
Updates an existing inventory adjustment.
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}}"
).
Path Parameters
The QuickBooks-assigned unique identifier of the inventory adjustment to update.
Body
The current QuickBooks-assigned revision number of the inventory adjustment object you are updating, which you can get by fetching the object first. Provide the most recent revisionNumber
to ensure you're working with the latest data; otherwise, the update will return an error.
The account to which this inventory adjustment is posted for tracking inventory value changes.
The site location where inventory for the item associated with this inventory adjustment is stored.
The date of this inventory adjustment, in ISO 8601 format (YYYY-MM-DD).
The case-sensitive user-defined reference number for this inventory adjustment, which can be used to identify the transaction in QuickBooks. This value is not required to be unique and can be arbitrarily changed by the QuickBooks user.
The customer or customer-job associated with this inventory adjustment.
The inventory adjustment's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default. A class defined here is automatically used in this inventory adjustment's line items unless overridden at the line item level.
A memo or note for this inventory adjustment.
The inventory adjustment's item lines, each representing the adjustment of an inventory item's quantity, value, serial number, or lot number.
IMPORTANT:
-
Including this array in your update request will REPLACE all existing item lines for the inventory adjustment with this array. To keep any existing item lines, you must include them in this array even if they have not changed. Any item lines not included will be removed.
-
To add a new item line, include it here with the
id
field set to-1
. -
If you do not wish to modify any item lines, omit this field entirely to keep them unchanged.
Response
The unique identifier assigned by QuickBooks to this inventory adjustment. This ID is unique across all transaction types.
The type of object. This value is always "qbd_inventory_adjustment"
.
"qbd_inventory_adjustment"
The date and time when this inventory adjustment was created, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone in QuickBooks.
The date and time when this inventory adjustment was last updated, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone in QuickBooks.
The current QuickBooks-assigned revision number of this inventory adjustment object, which changes each time the object is modified. When updating this object, you must provide the most recent revisionNumber
to ensure you're working with the latest data; otherwise, the update will return an error.
The account to which this inventory adjustment is posted for tracking inventory value changes.
The site location where inventory for the item associated with this inventory adjustment is stored.
The date of this inventory adjustment, in ISO 8601 format (YYYY-MM-DD).
The case-sensitive user-defined reference number for this inventory adjustment, which can be used to identify the transaction in QuickBooks. This value is not required to be unique and can be arbitrarily changed by the QuickBooks user.
The customer or customer-job associated with this inventory adjustment.
The inventory adjustment's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default. A class defined here is automatically used in this inventory adjustment's line items unless overridden at the line item level.
A memo or note for this inventory adjustment.
A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.
The inventory adjustment's item lines, each representing the adjustment of an inventory item's quantity, value, serial number, or lot number.
The custom fields for the inventory adjustment object, added as user-defined data extensions, not included in the standard QuickBooks object.