> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateBillOfMaterials

> Creates a new bill of materials for a production item, including its components.

If a request with this mutation's Idempotency-Key was already completed, the response's `extensions` contains an `idempotency.{responseName}` entry with `wasReplayed: true`.



**mutation** `CreateBillOfMaterials(request: CreateBillOfMaterialsCommandRequestInput!): CreateBillOfMaterialsCommandResponse!`

## Arguments

**`request`**: `CreateBillOfMaterialsCommandRequestInput!` (required)

## Returns

`CreateBillOfMaterialsCommandResponse!`

**`id`**: `ID!`

The ID of the newly created bill of materials.

