---
title: "OperationMode"
slug: "api/basket/types/operationmode"
sidebar:
  order: 281
---

<a id="ref-6ebb03c9dece"></a>
<a id="ref-001aa5c40039"></a>
<a id="ref-47067dd1a5f7"></a>

## Synopsis

```text
struct OperationMode {
    boolean*    subPositions;
    boolean*    mainArticles;
    boolean*    breakUpSetArticles;
    boolean migrate
}
```

The flags in the operation mode parameter `opMode` control the behavior of some basket service operations. The documentation of these operations should contain more information.

In any case, all attributes of this type are optional. If missing, they default to false.
