Updates the on-hand quantity of an inventory item at a specific location. This endpoint accepts an absolute quantity value and internally calculates the adjustment needed. Supports Drug and Supply item types.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

The requested API version

Body Params

The request containing the new on-hand quantity and related information.

Request model for updating the on-hand quantity of an inventory item at a specific location.
This endpoint accepts the new absolute on-hand quantity and internally calculates the adjustment needed.

int64 | null
≥ 1

The ID of the inventory item. Either InventoryItemId or ExternalRefKey must be provided.

string | null

The external reference key of the inventory item. Either InventoryItemId or ExternalRefKey must be provided.

int64
required
≥ 1

The ID of the inventory item location (from Inventory.InventoryItemLocation table).
This is the junction record linking an inventory item to a specific location.

double
required
≥ 0

The new absolute on-hand quantity. This value will replace the current on-hand quantity.
Must be greater than or equal to the committed quantity.

string | null

The name of the quantity change reason for the adjustment.
Defaults to "Physical Inventory" if not provided.

lotInformation
object

Lot information for on-hand quantity update.

double | null
≥ 0

The cost per unit for this adjustment. Only applicable for positive adjustments (inventory increases).
If not provided for positive adjustments, the system will use the last known cost.

Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json