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//children/ 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//children/. 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
UnassignChildItemFromParentCommandRequestInputFields
Unique ID of the parent item the child is currently assigned to.
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.
Was this page helpful?