---
title: "EditItemsCommand | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/EditItemsCommand/"
---

# EditItemsCommand

> - [`BaseItemsCommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/BaseItemsCommand.md#abstract-baseitemscommand)\<[`IEditItemsCommandArgs`](#iedititemscommandargs), `void`\>

## Classes

### EditItemsCommand

#### Extends

#### Constructors

##### Constructor

```ts
new EditItemsCommand(
   itemsDataApplier, 
   productHandler, 
   historyArgs, 
   args): EditItemsCommand;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `itemsDataApplier` | [`ItemsDataApplier`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/ItemsDataApplier.md#itemsdataapplier) |
| `productHandler` | [`ProductHandler`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/ProductHandler.md#producthandler) |
| `historyArgs` | [`IHistoryArgs`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/ModelUpdateCommand.md#ihistoryargs) |
| `args` | [`IEditItemsCommandArgs`](#iedititemscommandargs) |

###### Returns

[`EditItemsCommand`](#edititemscommand)

###### Overrides

[`BaseItemsCommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/BaseItemsCommand.md#abstract-baseitemscommand).[`constructor`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/BaseItemsCommand.md#constructor)

#### Methods

##### execute()

```ts
execute(): Promise<void>;
```

###### Returns

[`Promise`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/finally.md#promise)\<`void`\>

###### Inherited from

[`BaseItemsCommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/BaseItemsCommand.md#abstract-baseitemscommand).[`execute`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/BaseItemsCommand.md#execute)

##### executeCommandBody()

```ts
executeCommandBody(): Promise<void>;
```

###### Returns

[`Promise`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/finally.md#promise)\<`void`\>

###### Overrides

```ts
BaseItemsCommand._executeCommandBody
```

##### redo()

```ts
redo(): Promise<void>;
```

###### Returns

[`Promise`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/finally.md#promise)\<`void`\>

###### Overrides

[`BaseItemsCommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/BaseItemsCommand.md#abstract-baseitemscommand).[`redo`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/BaseItemsCommand.md#redo)

##### undo()

```ts
undo(): Promise<void>;
```

###### Returns

[`Promise`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/finally.md#promise)\<`void`\>

###### Overrides

[`BaseItemsCommand`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/BaseItemsCommand.md#abstract-baseitemscommand).[`undo`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/BaseItemsCommand.md#undo)

## Interfaces

### IEditItemsCommandArgs

#### Extends

- [`MultiSelectMode`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/Commands.md#multiselectmode)\<[`MultiSelectMode`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/Commands.md#multiselectmode)\>
