Skip to main content
Version: 3.x

collectionReorderProducts

Reorder the products of a collection.

Requires one of the following permissions: MANAGE_PRODUCTS.

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

Arguments

collectionId (ID!)

ID of a collection.

moves ([MoveProductInput!]!)

The collection products position operations.

Type

CollectionReorderProducts

Reorder the products of a collection.

Requires one of the following permissions: MANAGE_PRODUCTS.