> ## 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.

# CreateItem

> Creates a new regular item with all specified properties. This command enables complete configuration of an item including identifiers, descriptions, prices, and measurements.

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** `CreateItem(request: CreateItemCommandRequestInput!): CreateItemCommandResponse!`

## Arguments

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

## Returns

`CreateItemCommandResponse!`

**`itemId`**: `ID!`

Unique ID of the newly created item - this key is used for all further operations with the item.

## Examples

```graphql Mutation
mutation CreateItem($request: CreateItemCommandRequestInput!) {
  CreateItem(request: $request) {
    itemId
  }
}
```

```json Variables
{
  "request": {
    "categories": {
      "categories": [
        {
          "categoryId": "id"
        }
      ]
    },
    "identifiers": {},
    "descriptions": {
      "defaultDescriptions": [
        {
          "languageIso": "string",
          "descriptionData": {}
        }
      ]
    }
  }
}
```

```json Response
{
  "data": {
    "CreateItem": {
      "itemId": "id"
    }
  }
}
```
