---
title: "Creates a new bill of materials item for a bill of materials operation."
method: POST
path: "/v2/bill-of-materials-operations/{billOfMaterialsOperationId}/bill-of-materials-items/create"
tags: ["CreateCommand"]
---

# Creates a new bill of materials item for a bill of materials operation.

`POST /v2/bill-of-materials-operations/{billOfMaterialsOperationId}/bill-of-materials-items/create`

## Path parameters

- `billOfMaterialsOperationId` string, uuid, required

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Request body

- JTLPPSProductionItemsPublicApiDataTransferObjectsV2CreateCreateBillOfMaterialsItemCommandRequest — Creates a new bill of materials item for a bill of materials operation. - Request
  - `productionItemId` string, uuid — Der Schlüssel eines Produktionsartikels.
  - `billOfMaterialsId` string, uuid
  - `billOfMaterialsOperationId` string, uuid
  - `input` JTLPPSProductionItemsPublicApiDataTransferObjectsV2CreateCreateBillOfMaterialsItemInput — Represents the input for creating a bill of materials item as part of a bill of materials operation.
    - `itemId` string, uuid
    - `quantity` number — The required quantity of this component for the production of the production item. Must be greater than zero.
    - `measurementUnitId` string, uuid
    - `componentPostingsShelfLifeEndDateRequirements` 0 | 1 | 2 — 0 = Inherited, 1 = None, 2 = Identical
    - `componentPostingsBatchNumberRequirements` 0 | 1 | 2 — 0 = Inherited, 1 = None, 2 = Identical

## Response `201`

Successfully created a bill of materials item.

---

[API](https://skmtc.net/jtl-software/apis/scx-authentication-api.md) · [All operations](https://skmtc.net/jtl-software/apis/scx-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jtl-software/scx-authentication-api/revisions/f979b1ea6951/schema)
