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

# SetItemConditionRestrictionCommandRequestInput

> Replaces the restriction of an item condition: the product groups and categories where it can be chosen. A property that is omitted or null means no limit by that criterion, so a request without properties removes the restriction. It applies in the returns and when the condition of an item is changed in the warehouse. Errors: errorCode is ITEM_CONDITION_NOT_FOUND (404); PRODUCT_GROUP_NOT_FOUND, CATEGORY_NOT_FOUND (422). - Request



**Kind**: `input`

## Fields

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

The ID of the item condition.

---

**`productGroupIds`**: `[ID]!` (required)

Only items of these product groups can take the condition. Null or omitted means no limit by product group; an empty list means no item.

---

**`categoryIds`**: `[ID]!` (required)

Only items directly in one of these categories can take the condition; subcategories do not count. Null or omitted means no limit by category; an empty list means no item.

