Skip to main content

collectionReorderProducts Mutation

Reorder the products of a collection.

Requires MANAGE_PRODUCTSpermission.
collectionReorderProducts(
collectionId: ID!
moves: [MoveProductInput!]!
): CollectionReorderProducts

Arguments

collectionReorderProducts.collectionId ● ID! non-null scalar miscellaneous

ID of a collection.

collectionReorderProducts.moves ● [MoveProductInput!]! non-null input products

The collection products position operations.

Type

CollectionReorderProducts object products

Reorder the products of a collection.

Requires MANAGE_PRODUCTSpermission.