Skip to main content

Show FIFO Layer

GET 

/api/v2/fifo-layers/:fifoLayer

Returns a single FIFO layer with product, warehouse, source-document link, and origin-movement relations loaded.

Required scope: inventory:read

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

The origin block identifies the source document that created the layer and now includes origin.movement — the metadata of the inventory movement that created the layer (id, date, type, source link, quantity, unit_cost, inventory_status, reference, batch_number, expiry_date, warehouse, and warehouse_location). That origin movement is excluded from the layer's usage-movements listing by default, so its details are surfaced here instead.

Lot fields (batch_number, manufacture_date, expiry_date, days_to_expiry, lot_notes) are always included; days_to_expiry is a signed whole-day countdown (negative = already expired, null when the lot has no expiry).

Authentication: Requires Bearer token.

Request

Responses

OK