Skip to content

Create Assembly

Request

Creates a new assembly under a given RfQ.

Security
BearerAuth
Headers
Acceptstring(AssemblyAcceptHeader)required

Set this to application/api.luminovo.assembly-v1+json.

Value:"application/api.luminovo.assembly-v1+json"
Bodyapplication/jsonrequired
rfqstring, (uuid)required

The ID of the RfQ (Request for Quote) this assembly belongs to

customerstring, (uuid)required

The ID of the customer who owns this assembly

typestring(types.assembly.assembly_type.v1.AssemblyType)required

The type of assembly being created

Enum:"Box""Pcba""PcbOnly""Cable""System""BOM"
parent_assemblystring or null, (uuid)

Optional parent assembly ID. If provided, this assembly becomes a sub-assembly of the specified parent. If not provided, this assembly becomes a top-level assembly within the RfQ. This allows building hierarchical assembly structures (e.g., a main PCB containing smaller sub-assemblies).

namestringrequired

A unique name/identifier for the assembly within the RfQ. This name helps identify the assembly in the BOM structure and should be descriptive (e.g., "Main PCB Assembly", "Power Supply Module", "Display Interface Board").

notesstring or null

Optional notes or description for the assembly

industrystring(types.assembly.assembly_industry.v1.AssemblyIndustry)required

The industry this assembly belongs to

Enum:"Auto""Medical""Defense""Aero""Rail""Industrial""Construction""Consumer""Other"
POST
/assemblies
curl -i -X POST \
  https://api.luminovo.com/assemblies \
  -H 'Accept: application/api.luminovo.assembly-v1+json' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "rfq": "86078267-4e83-4409-a4a8-060d182cafeb",
    "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
    "type": "Box",
    "parent_assembly": "9d60f8de-f897-4456-b985-df5df3320fdf",
    "name": "string",
    "notes": "string",
    "industry": "Auto"
  }'

Responses

Assembly created successfully.

Bodyapplication/json
idstring, (uuid)required
namestringrequired
typestring(types.assembly.assembly_type.v1.AssemblyType)required
Enum:"Box""Pcba""PcbOnly""Cable""System""BOM"
notesstring or null
customerstring, (uuid)required
industrystring(types.assembly.assembly_industry.v1.AssemblyIndustry)required
Enum:"Auto""Medical""Defense""Aero""Rail""Industrial""Construction""Consumer""Other"
parent_assemblystring or null, (uuid)
rfqstring or null, (uuid)
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "type": "Box", "notes": "string", "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad", "industry": "Auto", "parent_assembly": "9d60f8de-f897-4456-b985-df5df3320fdf", "rfq": "86078267-4e83-4409-a4a8-060d182cafeb" }