Skip to main content

collectionReorderProducts Mutation

Reorder the products of a collection.

Requires the MANAGE_PRODUCTSpermission.
collectionReorderProducts(
collectionId: ID!
moves: [MoveProductInput!]!
): CollectionReorderProducts
Show return type

Arguments

collectionId ● ID!

ID of a collection.

moves ● [MoveProductInput!]!

The collection products position operations.

Type

CollectionReorderProducts

Reorder the products of a collection.

Requires the MANAGE_PRODUCTSpermission.