Skip to main content

clusterProductDelete

Remove a product that is attached to a cluster from the catalogue.

The product is detached from the cluster and deleted. Cross- and up-sell relationships pointing to the product are detached automatically.

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]

clusterProductDelete(
id: Int!
productId: Int!
): Boolean!

Arguments

clusterProductDelete.id ● Int! non-null scalar

Numeric identifier of the cluster the product is attached to.

clusterProductDelete.productId ● Int! non-null scalar

Numeric identifier of the product to delete.

Type

Boolean scalar

The Boolean scalar type represents true or false.