productAssignToCluster
Attach an existing product to a cluster.
The product becomes selectable through the cluster's options. A product can only belong to one cluster at a time; reassigning detaches the product from its previous cluster.
Possible errors:
- PRODUCT_NOT_FOUND: The supplied product identifier did not match any product.
- CLUSTER_NOT_FOUND: The supplied cluster identifier did not match any cluster.
- CLUSTER_PRODUCT_EXISTS: The product is already attached to the cluster.
AUTH: Role=[product.OWNER,product.EDITOR]
productAssignToCluster(
productId: Int!
clusterId: Int!
): Product!
Arguments
productAssignToCluster.productId ● Int! non-null scalar
Numeric identifier of the product to attach to the cluster.
productAssignToCluster.clusterId ● Int! non-null scalar
Numeric identifier of the cluster the product should be attached to.
Type
Product object
Product entity representing items in the product catalog.
External entity from the product service that provides basic product identification and categorization. Used as a reference for product-specific attributes and relationships within the attribute system.