Skip to main content

List Production Iteration Inventory Movements

GET 

/api/manufacturing/production-iterations/0fa1c2bb-8b1b-4c5a-9d63-1f4b5e6d7c80/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.

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: -id
  • filter[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 match
  • filter[fifo_layer_id] — exact match
  • filter[search] — LIKE on product SKU or product name
  • filter[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

OK

Response Headers
    Content-Type