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

# GetProductionItemByItemId

> Retrieves a production item by the ID of the underlying item.



**query** `GetProductionItemByItemId(itemId: ID!): ProductionItem!`

## Arguments

**`itemId`**: `ID!` (required)

## Returns

`ProductionItem!`

**`id`**: `ID!`

The ID of this production item.

---

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

The ID of the item underlying this production item.

---

**`lotType`**: `LotType!`

Defines the type of lot size configuration for this production item.

---

**`productionType`**: `ProductionType!`

Defines the type of manufacturing of this production item.

---

**`lotLabelTemplateKey`**: `ID`

The ID of a template to be used for printing an item label when a lot is completed, or NULL if no item label should be printed on completion.

---

**`singleItemLabelTemplateKey`**: `ID`

The ID of a template to be used for printing an item label for each produced unit when a lot is completed, or NULL if no item label for each produced unit should be printed on completion.

---

**`createDate`**: `DateTime!`

The timestamp when this production item was created.

---

**`updateDate`**: `DateTime!`

The timestamp when this production item was last modified.

---

**`updateUserId`**: `ID`

The ID of the user who last modified this production item, or NULL if this production item has not been modified yet.

