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

# GetLotSizeById

> Retrieves a lot size by its ID.



**query** `GetLotSizeById(id: ID!): LotSize!`

## Arguments

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

## Returns

`LotSize!`

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

The ID of this lot size.

---

**`productionItemId`**: `ID!`

The ID of the production item of this lot size.

---

**`quantity`**: `Int!`

The quantity of the production item that is produced in one lot.

## Examples

```graphql Query
query GetLotSizeById($id: ID!) {
  GetLotSizeById(id: $id) {
    id
    productionItemId
    quantity
  }
}
```

```json Variables
{
  "id": "id"
}
```

```json Response
{
  "data": {
    "GetLotSizeById": {
      "id": "id",
      "productionItemId": "id",
      "quantity": 1
    }
  }
}
```
