Skip to main content

List Manufacturing Orders

GET 

/api/manufacturing/manufacturing-orders

Paginated list of Manufacturing Orders. Supports Spatie QueryBuilder filters, sorts, and pagination.

Required scope: manufacturing:read

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

Filters (all optional, all use filter[key]=value syntax):

  • filter[status] — exact match against draft|confirmed|in_progress|completed|closed|cancelled
  • filter[warehouse_id] — exact match
  • filter[is_simple_mode]1 to show only Simple Mode MOs (created via /simple-assemble)
  • filter[is_disassemble]1 to show only disassembly MOs (Simple Mode with action=disassemble)

Sort: sort=<field>, prefix with - for DESC (e.g. -created_at). Defaults to -created_at. Allowed sorts: id, mo_number, status, priority, production_method, scheduled_start, scheduled_end, started_at, completed_at, planned_quantity, completed_quantity, created_at, updated_at, warehouse_name, contractor_supplier_name, assigned_to. warehouse_name, contractor_supplier_name, and assigned_to sort by the related warehouse / supplier / assignee name (LEFT JOIN). Pagination: page, per_page (default 10).

Response items are manufacturing order list object (trimmed payload — no component_lines/output_lines). primary_output_name / primary_output_product_id resolve the primary output line's product, falling back to the BOM output product for draft MOs (so the list can link the Output cell to the product detail page).

Request

Responses

OK

Response Headers
    Content-Type