NextGen APIs

Stock History GET /inventory/warehouses/r1/warehouses/stocks/{stockId}/history

Http Verb

GET

Url

/inventory/warehouses/r1/warehouses/stocks/{stockId}/history

Permissions required



Personally Identifiable Information (PII)

No

Sensitive Information

No

Last Modified Version

r2

Released since

2026 W07 (FSM 26.0)

Deprecated since


Removed since


Tech Tags

Inventory, Warehouse, Central

Business Logic

Retrieves the historical log of changes for a specific stock record.

Path Parameters

Field

Type

Note

stockId

Long

The parent Transfer Request ID.

Query String Parameters (Filters)

Field

Type

Note

id

Collection<Long>

Filter by history record IDs.

warehouseMaterialId

Collection<Long>

Filter by warehouse material IDs.

typeId

Collection<Long>

Filter by stock type IDs.

measureUnitId

Collection<Long>

Filter by measure unit IDs.

quantity

Double

Filter by quantity at that point in time.

historyInsert

ZonedDateTimeRange

Filter by the timestamp of the history creation.

previousStockHistoryId

Collection<Long>

Filter by the ID of the preceding history record.

lastTransactionId

Collection<Long>

Filter by the associated transaction ID.

Language ℹ️

Default.

Header Parameters

Default.

Response documentation

Response payload fields

Field

Type

Description

id

Long

Unique identifier of the history record.

warehouseMaterialId

Long

Identifier of the associated warehouse material.

typeId

Long

Identifier of the stock type.

measureUnitId

Long

Identifier of the unit of measure.

quantity

Double

The quantity recorded at this specific moment.

historyInsert

ZonedDateTime

Timestamp when this history snapshot was created.

stockId

Long

Reference to the parent stock ID.

previousStockHistoryId

Long

Reference to the immediate preceding history record ID.

Response error codes