Skip to main content

clusterUnassignProducts

Detach a list of products from a cluster, optionally moving them to a category or another cluster.

Each detached product remains in the catalogue. Per-item outcomes are returned so callers can detect partial successes.

Possible errors:

  • CLUSTER_NOT_FOUND: The supplied cluster identifier did not match any cluster.
  • PRODUCT_NOT_FOUND: One or more of the supplied product identifiers did not match any product.
  • CATEGORY_NOT_FOUND: The supplied target category does not exist.

AUTH: Role=[product.OWNER,product.EDITOR]

clusterUnassignProducts(
clusterId: Int!
input: ClusterUnassignProductsInput!
): ClusterUnassignProductsResponse!

Arguments

clusterUnassignProducts.clusterId ● Int! non-null scalar

Numeric identifier of the cluster the products are currently attached to.

clusterUnassignProducts.input ● ClusterUnassignProductsInput! non-null input

Identifiers of the products to detach and the optional destination they should be moved to.

Type

ClusterUnassignProductsResponse object

Response for cluster product unassignment operation