Skip to main content

CollectionAddProducts Object

Adds products to a collection.

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

Fields​

collection ● Collection​

Collection to which products will be added.

errors ● [CollectionError!]!​

Show deprecatedHide deprecated

collectionErrors ● [CollectionError!]!​

DEPRECATED

Use errors field instead.

Returned By​

collectionAddProducts mutation