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

# UnassignChildItemFromParentCommandRequestInput

> Removes the assignment of a variation child from its parent item. The child keeps existing as an item of its own. Afterwards the child's parentItemId is empty and isVariationChild is false; its variation value combination is removed, so assigning it again through POST /v2/items/{itemId}/children/{childItemId} needs variationValueIds again. The parent's stock is recalculated, and its isVariationParent becomes false when the last child is removed. If the parent is stock-managed and the detached child was its last stock-managed child, the parent's stock management is switched off as well. Reverse of POST /v2/items/{itemId}/children/{childItemId}. A second call for the same pair answers 404, because the child is no longer assigned; it changes nothing, so repeating the call after a lost response is safe. A missing assignment answers with error code EntityNotFound, an unknown parent with ItemNotFound, the eBay last-child refusal with LastChildOfEbayListedParent, and a child whose own data is invalid for a variation child (for example an empty default name or item number) with ChildItemFailsVariationValidation. - Request



**Kind**: `input`

## Fields

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

Unique ID of the parent item the child is currently assigned to.

---

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

Unique ID of the child item whose assignment is removed. It must currently be assigned to the item given as itemId; a child of another parent is rejected exactly like an unknown one.

