Skip to main content

clusterOptionProductDelete

Remove a product attached to a cluster option from the catalogue.

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

Possible errors:

  • CLUSTER_OPTION_NOT_FOUND: The supplied cluster option identifier did not match any option.
  • PRODUCT_NOT_FOUND: The supplied product identifier did not match any product.

AUTH: Role=[product.OWNER]

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

Arguments

clusterOptionProductDelete.id ● Int! non-null scalar

Numeric identifier of the cluster option the product is attached to.

clusterOptionProductDelete.productId ● Int! non-null scalar

Numeric identifier of the product to delete.

Type

Boolean scalar

The Boolean scalar type represents true or false.