---
title: "changeBasketViewConfig"
slug: "api/basket/operations/changebasketviewconfig"
sidebar:
  order: 522
---

<a id="ref-f67f0d028d43"></a>
<a id="ref-9c476d9f48b2"></a>
<a id="ref-ae0bf591f64d"></a>

```text
void changeBasketViewConfig(SessionId sessionId,
    BasketViewConfig viewConfig)
throws BasketServiceFault;
```

See also: [`SessionId`](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [BasketViewConfig](/pCon/configuratorOnline/specs/api/basket/types/basketviewconfig#ref-c93474937ff8), [`BasketServiceFault`](/pCon/configuratorOnline/specs/api/basket/faults/basketservicefault#ref-d5adb74faa1b)

The operation can be used to change all configuration options of a basket view. The only fields of [`BasketViewConfig`](/pCon/configuratorOnline/specs/api/basket/types/basketviewconfig) that can obviously not be used to change a view configuration are `viewId`, `removable` and `editable`.

The field `viewId` must be present and contain the ID of an existing editable view. Fields `removable` and `editable`, if present, are ignored.

The view will always be reloaded (i.e. reconstructed from the basket item tree) if the operation effectively changes the display mode, an expand mode, the merge mode or the set-article mode, whether or not this change or changes would affect the structure of the current view.

The operation fails if

no valid view ID has been specified (invalid UUID or non-existent view)

the view is not editable

the specified display mode is `Undefined`

the specification of visible columns is invalid (invalid UUID, non-existent column, duplicate columns)

- the specified column widths are invalid (column ID does not specify visible column, column width less than or equal to zero, duplicate column widths)
