---
title: "Creates a new bill of materials operation for a bill of materials, including its items."
method: POST
path: "/v2/bills-of-materials/{billOfMaterialsId}/bill-of-materials-operations/create"
tags: ["CreateCommand"]
---

# Creates a new bill of materials operation for a bill of materials, including its items.

`POST /v2/bills-of-materials/{billOfMaterialsId}/bill-of-materials-operations/create`

## Path parameters

- `billOfMaterialsId` string, uuid, required

## Headers

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

## Request body

- JTLPPSProductionItemsPublicApiDataTransferObjectsV2CreateCreateBillOfMaterialsOperationCommandRequest — Creates a new bill of materials operation for a bill of materials, including its items. - Request
  - `productionItemId` string, uuid — Der Schlüssel eines Produktionsartikels.
  - `billOfMaterialsId` string, uuid
  - `input` JTLPPSProductionItemsPublicApiDataTransferObjectsV2CreateCreateBillOfMaterialsOperationInput — Represents the input for creating a bill of materials operation as part of a new bill of materials.
    - `operationId` string, uuid
    - `items` JTLPPSProductionItemsPublicApiDataTransferObjectsV2CreateCreateBillOfMaterialsItemInput[] — The bill of materials items assigned to this operation. Optional per individual operation, but at least one component must be present across all operations within the bill of materials.
      - `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 operation.

---

[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)
