> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/products/llms.txt)
> Source: https://docs.saleor.io/api-reference/products/inputs/move-product-input

# MoveProductInput Input Type

No description

```graphql
input MoveProductInput {
  productId: ID!
  sortOrder: Int
}
```

<a id="fields"></a>

### Fields

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

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

The ID of the product to move.

<a id="sort-order"></a>

#### [`sortOrder`](#sort-order) ● [`Int`](/api-reference/miscellaneous/scalars/int.md)

The relative sorting position of the product (from -inf to +inf) starting from the first given product's actual position.1 moves the item one position forward, -1 moves the item one position backward, 0 leaves the item unchanged.

<a id="member-of"></a>

### Member Of

[`collectionReorderProducts`](/api-reference/products/mutations/collection-reorder-products.md) mutation
