collectionReorderProducts Mutation
Reorder the products of a collection.
collectionReorderProducts(collectionId: ID!, moves: [MoveProductInput!]!): CollectionReorderProducts
Returns
Show return type
type CollectionReorderProducts {
collection: Collection
collectionErrors: [CollectionError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [CollectionError!]!
}Arguments
collectionId
collectionId · ID!
ID of a collection.
moves
moves · [MoveProductInput!]!
The collection products position operations.
Schema: Saleor 3.23.43. Download SDL.