Skip to main content

Get Stock Take

GET 

/api/stock-takes/:stock_take

Get a single stock take with full details including items, warehouse, parent and child stock takes.

Required scope: inventory:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token.

Loads: warehouse, stockTakeItems (with inventoryMovements.fifoLayer for closed takes), parentStockTake, childStockTakes.

Response includes deletable (boolean) and delete_blocked_reasons (string[]): a draft/open stock take is always deletable; a closed stock take is deletable only when none of its FIFO cost layers have been consumed (otherwise deletable is false and delete_blocked_reasons lists the blocking stock take items).

The stock take exposes is_blind. For a blind count, items that have not yet been counted return null snapshot_inventory / snapshot_available / snapshot_reserved / snapshot_committed_to_fulfillment until they are counted. Each item also exposes its variance_reason (root-cause code, or null).

On a closed take each item also returns item_realized_unit_cost: the per-unit cost the count actually realized, derived from the inventory movements it wrote. Negative (removal) lines report the weighted average cost of the FIFO layers they consumed; positive (addition) lines report the cost of the layer they opened. It is stated on the same basis as the FIFO layer's own COGS per unit — the cost as booked, plus every cost change recognized against that layer since — so a landed cost or other correction back-dated behind the count is reflected here, in the layer and in inventory valuation alike. item_unit_cost is the cost entered on the line (null on removal lines) and does not move.

Serial fields. Each item includes tracks_serials (boolean), serial_generation_mode (none, manual or auto) and serials (the serials of the found or missing units, applied at finalize).

Request​

Responses​

OK

Response Headers
    Content-Type