Skip to main content

crossupsellDelete

Permanently delete a cross-sell/upsell recommendation.

Removes the recommendation and all associated product recommendation relationships. This action cannot be undone.

Returns true if the deletion was successful.

Possible errors:

  • CROSSUPSELL_NOT_FOUND_ERROR: Recommendation not found
  • CROSSUPSELL_UNKNOWN_ERROR: Failed to delete the recommendation
  • FORBIDDEN: Insufficient permissions to delete data

AUTH: Role=[product.OWNER]

crossupsellDelete(
id: String!
): Boolean!

Arguments

crossupsellDelete.id ● String! non-null scalar

ID of the recommendation to delete.

Type

Boolean scalar

The Boolean scalar type represents true or false.