clusterAssignProduct
Attach a single existing product to a cluster. The product will be detached from a category or another cluster.
Use clusterAssignProducts to attach multiple products in a single request.
Possible errors:
- CLUSTER_NOT_FOUND: The supplied cluster identifier did not match any cluster.
- PRODUCT_NOT_FOUND: The supplied product identifier did not match any product.
AUTH: Role=[product.OWNER,product.EDITOR]
clusterAssignProduct(
clusterId: Int!
productId: Int!
): Cluster!
Arguments
clusterAssignProduct.clusterId ● Int! non-null scalar
Numeric identifier of the cluster the product should be attached to.
clusterAssignProduct.productId ● Int! non-null scalar
Numeric identifier of the product to attach.
Type
Cluster object
Cluster entity representing grouped products with shared characteristics.
External entity from the catalog service that provides cluster identification and categorization. Clusters group related products together based on shared attributes, features, or business logic. Used as a reference for cluster-specific attributes and group-level properties within the attribute system.