List Production Iteration Inventory Movements
GET/api/manufacturing/production-iterations/:id/inventory-movements
Paginated inventory movements scoped to a single production iteration — every movement created by the underlying Record Production call (component consumption, scrap, and output). Scope is inventory_movements.production_iteration_id = {iteration.id}. Backs the Movements tab on the Production Iteration detail page.
manufacturing:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Path parameters:
moProductionIteration(string, UUID) — the iteration's UUID primary key.
Query parameters (Spatie QueryBuilder):
per_page— items per page (default: 15)sort— sort field. Prefix with-for DESC. Allowed:id,inventory_movement_date,type,inventory_status,quantity,reference,created_at. Default:-idfilter[type]— exact match (e.g.manufacturing_consumption,manufacturing_output,manufacturing_scrap)filter[inventory_status]— exact match (e.g.on_hand,scrapped)filter[link_type]— exact FQN model class (e.g.App\Models\MoOutputLine,App\Models\MoComponentLine)filter[warehouse_id]— exact matchfilter[fifo_layer_id]— exact matchfilter[search]— LIKE on product SKU or product namefilter[inventory_movement_date_from],filter[inventory_movement_date_to]— date range (Y-m-d)filter[created_at_from],filter[created_at_to]— date range (Y-m-d)
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.