---
title: "convertToUserArticles"
slug: "api/basket/operations/converttouserarticles"
sidebar:
  order: 501
---

<a id="ref-a4ab2d9884ca"></a>
<a id="ref-a96d1268cab3"></a>
<a id="ref-79bbf97449e7"></a>

```text
BItemId convertToUserArticles(SessionId sessionId,
    BitemId itemIds,
    ItemSelectionOptions options)
throws BasketServiceFault;
```

See also: [`BItemId`](/pCon/configuratorOnline/specs/api/basket/types/bitemid#ref-bccb6c926e5b), [`SessionId`](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [`BItemId`](/pCon/configuratorOnline/specs/api/basket/types/bitemid), [`ItemSelectionOptions` ](/pCon/configuratorOnline/specs/api/basket/types/itemselectionoptions#ref-96d714d65dbc), [`BasketServiceFault`](/pCon/configuratorOnline/specs/api/basket/faults/basketservicefault#ref-d5adb74faa1b)

Operation to convert a basket article into an user article.

Determines a set of selected items based on the specified item Ids and optional item selection options. Then, for each basket main article item with the set, converts the basket article item into a user article item. In case of composite article items, the main article and each sub-article is converted into an independent user article.

After successful conversion the original basket article items are deleted.

The operation returns a sequence of basket item IDs with the same number of elements as passed to the `itemIds` parameter. If the N-th parameter is the ID of a basket article item, then the N-th return value is the ID of the user article item created for this basket article item. Otherwise, the N-th return value is equal to the N-th parameter if the item still exists, or the NIL-ID if the item has been deleted for whatever reason (should not happen).
