Docs
Dashboard

CollectionProductMoveInput

Input

Represents the input for moving a product within a collection.

#

Fields


newPosition
Int!

The new position of the product in the collection. This is a zero-based index indicating where the product should be placed after the move. If the position is out of bounds, it will be clamped to the valid range of indices.

productId
ID!

The ID of the product being moved within the collection. This should be a valid product ID that exists in the collection.