Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

collectionRemoveProducts Mutation

Remove products from a collection.

Requires one of the following permissions:MANAGE_PRODUCTS
collectionRemoveProducts(collectionId: ID!, products: [ID!]!): CollectionRemoveProducts

Returns

CollectionRemoveProducts

Show return type
type CollectionRemoveProducts {
  collection: Collection
  collectionErrors: [CollectionError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [CollectionError!]!
}

Arguments

collectionId

collectionId · ID!

ID of a collection.

products

products · [ID!]!

List of product IDs.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?