Skip to main content

CategoryAddProductsClustersInput

Input for adding products and clusters to a category.

Specifies which products and clusters should be associated with a category. At least one of productIds or clusterIds must be provided. All IDs must be unique and reference existing entities.

input CategoryAddProductsClustersInput {
productIds: [Int!]
clusterIds: [Int!]
}

Fields

CategoryAddProductsClustersInput.productIds ● [Int!] list scalar

Product identifiers to add to the category.

List of unique product IDs that should be associated with the category. Products must exist in the system and not already be associated with this category. Array must not be empty if provided and all IDs must be unique.

CategoryAddProductsClustersInput.clusterIds ● [Int!] list scalar

Cluster identifiers to add to the category.

List of unique cluster IDs that should be associated with the category. Clusters must exist in the system and not already be associated with this category. Array must not be empty if provided and all IDs must be unique.

Member Of

categoryAddProductsClusters mutation