Skip to main content

CollectionAddProducts

Adds products to a collection.

Requires MANAGE_PRODUCTSpermission.
type CollectionAddProducts {
collection: Collection
collectionErrors: [CollectionError!]! @deprecated
errors: [CollectionError!]!
}

Fields

CollectionAddProducts.collection ● Collection object products

Collection to which products will be added.

CollectionAddProducts.collectionErrors ● [CollectionError!]! deprecated non-null object products

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

CollectionAddProducts.errors ● [CollectionError!]! non-null object products

Returned By

collectionAddProducts mutation