---
title: "RelocateItemsResult"
slug: "api/basket/types/relocateitemsresult"
sidebar:
  order: 277
---

<a id="ref-61deb78c0253"></a>
<a id="ref-c77bb5f711cb"></a>
<a id="ref-2051d1350d8e"></a>

## Synopsis

```text
enum RelocateItemsResult {
    Done,
    NothingToDo,
    CannotReparentPlanningItem,
    NewParentHasInappropriateType,
    IllegalStructuralChange
}
```

The operation relocateItems ([relocateItems](/pCon/configuratorOnline/specs/api/basket/operations/relocateitems)) may return the following enumeration values:

See also: [relocateItems](/pCon/configuratorOnline/specs/api/basket/operations/relocateitems#ref-648ff0d4daa9)

**`Done`**

The items have been moved as specified.

**`NothingToDo`**

No item has been moved because the list of items to move was empty, or the items where already in the specified position and order.

**`IllegalStructuralChange`**

No item has been moved because doing so would result in an invalid basket item structure, or is just impossible. This  may happen if the father or one of its ancestors, or the item identified by `beforeId` (if non-NIL and a child of the new father), is also included in the list of items to move.

**`NewParentHasInappropriateType`**

No item has been moved because at least one of the items to be moved is not allowed as a child of the new father/parent item.

**`CannotReparentPlanningItem`**

No item has been moved because doing so would require reparenting of a planning item, which is generally not allowed.
