---
title: "Creates a new lot size for a production item."
method: POST
path: "/v2/production-items/{productionItemId}/lot-sizes/create"
tags: ["CreateCommand"]
---

# Creates a new lot size for a production item.

`POST /v2/production-items/{productionItemId}/lot-sizes/create`

## Path parameters

- `productionItemId` string, uuid, required — Der Schlüssel eines Produktionsartikels.

## Headers

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

## Request body

- JTLPPSProductionItemsPublicApiDataTransferObjectsV2CreateCreateLotSizeCommandRequest — Creates a new lot size for a production item. - Request
  - `productionItemId` string, uuid — Der Schlüssel eines Produktionsartikels.
  - `input` JTLPPSProductionItemsPublicApiDataTransferObjectsV2CreateCreateLotSizeInput — Represents the input for creating a lot size as part of a production item.
    - `lotSize` integer — The lot size value. Must be greater than zero.

## Response `201`

Successfully created a lot size.

---

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