---
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`

## Request

- Base URL: `https://scx-sbx.api.jtl-software.com`
- URL: `https://scx-sbx.api.jtl-software.com/v2/bill-of-materials-operations/{billOfMaterialsOperationId}/bill-of-materials-items/create`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://auth.jtl-cloud.com/oauth2/auth`
    - Token URL: `https://auth.jtl-cloud.com/oauth2/token` scopes: `pps.write`
  - OAuth 2
    - Client credentials
    - Token URL: `https://auth.jtl-cloud.com/oauth2/token` scopes: `pps.write`

## 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.dev/jtl-software/apis/scx-authentication-api.md) - [All operations](https://skmtc.dev/jtl-software/apis/scx-authentication-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jtl-software/apis/scx-authentication-api/revisions/f979b1ea6951?raw)
