Skip to main content
Version: 3.x

MoveProductInput

No description

input MoveProductInput {
productId: ID!
sortOrder: Int
}

Fields

MoveProductInput.productId ● ID! non-null scalar

The ID of the product to move.

MoveProductInput.sortOrder ● Int scalar

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.

Member of

collectionReorderProducts mutation


Was this page helpful?