Skip to main content
Version: 3.x

collectionAddProducts

Adds products to a collection.

Requires one of the following permissions: MANAGE_PRODUCTS.

collectionAddProducts(
collectionId: ID!
products: [ID!]!
): CollectionAddProducts

Arguments

collectionId (ID!)

ID of a collection.

products ([ID!]!)

List of product IDs.

Type

CollectionAddProducts

Adds products to a collection.

Requires one of the following permissions: MANAGE_PRODUCTS.