Skip to main content

collectionAddProducts Mutation

Adds products to a collection.

Requires MANAGE_PRODUCTSpermission.
collectionAddProducts(
collectionId: ID!
products: [ID!]!
): CollectionAddProducts

Arguments

collectionAddProducts.collectionId ● ID! non-null scalar miscellaneous

ID of a collection.

collectionAddProducts.products ● [ID!]! non-null scalar miscellaneous

List of product IDs.

Type

CollectionAddProducts object products

Adds products to a collection.

Requires MANAGE_PRODUCTSpermission.