Skip to main content

Get PO Lines for Receiving

GET 

/api/purchase-orders/:purchase_order/lines-for-receiving

Lean endpoint for the Receive drawer. Returns only the 8 fields the UI consumes (id, sku, name, barcode, img_url, quantity, received) — no COGS, no allocations, no inventory snapshots, no resource transformation.

For POs with ~1000 lines this is ~9× faster than /lines (~100ms vs ~900ms) and returns ~5× smaller payloads.

Authentication: Requires Bearer token.

Request

Responses

Successful response