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

# ItemCondition

> An item condition: the state an item can be in, for example new, used or B-grade. The stock handling decides which properties it has.



**Kind**: `interface`

## Fields

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

The ID of the item condition.

---

**`stockHandling`**: `ItemConditionStockHandling!`

How the condition deals with stock. It cannot be changed after the condition was created.

---

**`translations`**: `[ItemConditionTranslation!]!`

The name in each language it has, including languages that are no longer active. It always has a name in the standard language of the Wawi.

---

**`color`**: `String`

The colour as hex value with a leading '#', shown in the warehouse. Null when none.

---

**`sortOrder`**: `Int!`

The position in lists; smaller comes first.

---

**`isActive`**: `Boolean!`

Whether the condition can be chosen. Inactive conditions stay on the items and returns that already carry them.

---

**`isDefault`**: `Boolean!`

Whether it is the standard condition that items without another condition carry. Computed; there is exactly one.

---

**`isSystem`**: `Boolean!`

Whether it was delivered with the Wawi. A system condition cannot be deleted. Computed.

---

**`restriction`**: `ItemConditionRestriction!`

Where the condition can be chosen.

---

**`marketplaceCodes`**: `[ItemConditionMarketplaceCode!]!`

The values of the sales platforms the condition is mapped to. A platform without an entry has no mapping.

## Possible types

- `NoStockItemCondition`
- `OwnItemCondition`
- `StandardItemCondition`

