Skip to main content

List Lots

GET 

/api/manufacturing/lots

Paginated list of FIFO layers that have a batch_number ("lots"). Drives the Manufacturing → Lots screen and is the data source the Source chip uses to deep-link back to the originating Manufacturing Order, Purchase Order, etc.

Required scope: manufacturing:read

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

Simple-Mode disassembly produces component lots whose link_type is InventoryMovement (which itself links to the ManufacturingOrder). The source block resolves parent_link_id to the navigable parent document (e.g. ManufacturingOrder.id) so the UI can build a working link in one hop.

Each lot also carries produced_by. An outsourced finished good is received against the contractor's backing purchase order, so its source_type stays purchase_orderproduced_by names the manufacturing order it was actually produced on ({id, mo_number}). It is null for lots produced in-house (whose origin already is the manufacturing order) and for genuinely-purchased lots.

Request

Responses

OK

Response Headers
    Content-Type