Skip to main content

collectionRemoveProducts Mutation

Remove products from a collection.

Requires the MANAGE_PRODUCTSpermission.
collectionRemoveProducts(
collectionId: ID!
products: [ID!]!
): CollectionRemoveProducts
Details
type CollectionRemoveProducts {
collection: Collection
collectionErrors: [CollectionError!]! @deprecated
errors: [CollectionError!]!
}

Arguments

collectionId ● ID!

ID of a collection.

products ● [ID!]!

List of product IDs.

Type

CollectionRemoveProducts

Remove products from a collection.

Requires the MANAGE_PRODUCTSpermission.