Skip to content

Stock Histories ​

Stock histories record quantity movements per product and warehouse stock line.

Requires API token scope view-any stocks-histories (and view stocks-histories where applicable).

List Stock Histories ​

GET/stock-histories Bearer Token — view-any stocks-histories

Retrieve a paginated audit log of stock movements.

Supports the common list parameters (page, per_page, keyword, search_by, match_type, start_at, end_at, date_from, date_to, id, ids).

Response ​

Success (200): standard paginated { data, meta } envelope. meta also includes reference enums:

meta keyDescription
paginationpage, limit, total, pages
movementTypesMap of movement type keys → labels
movementDescriptionsMap of description keys → labels

Each item in data includes movement flags (is_increment, is_decrement, is_creation), quantity before/after fields, product summary, actor (by), and UI helper classes where applicable.

wedoCOD API Documentation