> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/channels/llms.txt)
> Source: https://docs.saleor.io/api-reference/channels/mutations/channel-reorder-warehouses

# channelReorderWarehouses Mutation

Reorder the warehouses of a channel.

Requires the MANAGE\_CHANNELS permission.

```graphql
channelReorderWarehouses(
  channelId: ID!
  moves: [ReorderInput!]!
): ChannelReorderWarehouses
```

Details

```graphql
type ChannelReorderWarehouses {
  channel: Channel
  errors: [ChannelError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="channel-id"></a>

#### [`channelId`](#channel-id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

ID of a channel.

<a id="moves"></a>

#### [`moves`](#moves) ● [`[ReorderInput!]!`](/api-reference/miscellaneous/inputs/reorder-input.md)

The list of reordering operations for the given channel warehouses.

<a id="type"></a>

### Type

<a id="channelreorderwarehouses"></a>

#### [`ChannelReorderWarehouses`](/api-reference/channels/objects/channel-reorder-warehouses.md)

Reorder the warehouses of a channel.

Requires the MANAGE\_CHANNELS permission.
