Skip to main content

MoveProductInput

No description

input MoveProductInput {
productId: ID!
sortOrder: Int
}

Fields

MoveProductInput.productId ● ID! non-null scalar miscellaneous

The ID of the product to move.

MoveProductInput.sortOrder ● Int scalar miscellaneous

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