---
title: "CopyOptions"
slug: "api/basket/types/copyoptions"
sidebar:
  order: 282
---

<a id="ref-a78ff8e9a4b9"></a>
<a id="ref-faf5fb26fd33"></a>
<a id="ref-3c07a5c830bb"></a>
<a id="ref-98377714cc3c"></a>

## Synopsis

```text
struct CopyOptions {
    string*     encoding;
    string*     suffix;
    boolean*    overwrite;
    boolean*    cut;
    boolean omitPriceData
}
```

Options to be used in copy (§[copy](/pCon/configuratorOnline/specs/api/basket/operations/copy#ref-9d0d72710ba9)) operation.

**encoding**

This attribute specifies the encoding to be used for the OBX stream. The default value of this option is `UTF-8`.

**suffix**

This attribute specifies the suffix to be used in case the `uri` parameter is empty. If the `suffix` is not empty and does not start with a period character ('.'), a period is prepended to the suffix. The default value of this option is `.obx`.

**overwrite**

This attribute specifies whether the operation should fail if the file specified by the `uri` parameter already exists (overwrite=false) or overwrite the file. The default value of this option is `false`.

**cut**

This attribute

The `cut` option specifies whether or not the copied items are to be deleted once the OBX stream has been successfully written. The default value of this option is `false`.

**omitPriceData**

Possible values are true and false, with false being the default value.
