ClusterUnassignProductsInput
Input for removing products from a cluster and optionally reassigning them.
Contains the list of product identifiers that should be removed from a cluster, along with an optional destination (category or another cluster) where the products should be moved. Either categoryId or clusterId must be provided as the destination.
input ClusterUnassignProductsInput {
productIds: [Int!]!
categoryId: Int
clusterId: Int
}
Fields
ClusterUnassignProductsInput.productIds
● [Int!]!
non-null scalar
List of product identifiers to remove from the cluster.
Array of unique product IDs that should be unassigned from the current cluster. Each product ID must be valid and currently associated with the cluster. Duplicate IDs are not allowed.
ClusterUnassignProductsInput.categoryId
● Int
scalar
Category identifier to move the products to.
ID of the category where the unassigned products should be placed. Either this field or clusterId must be provided, but not both.
ClusterUnassignProductsInput.clusterId
● Int
scalar
Cluster identifier to move the products to.
ID of the destination cluster where the unassigned products should be placed. Either this field or categoryId must be provided, but not both.
Member Of
clusterUnassignProducts
mutation