Skip to main content

crossupsellUpdate

Update a cross-sell/upsell recommendation.

Returns the updated recommendation.

Possible errors:

  • CROSSUPSELL_NOT_FOUND_ERROR: Recommendation not found
  • CROSSUPSELL_UNKNOWN_ERROR: Failed to update the recommendation
  • CROSSUPSELL_VALIDATION_ERROR: Invalid input data
  • CROSSUPSELL_CROSS_SERVICE_ERROR: One or more specified products do not exist
  • FORBIDDEN: Insufficient permissions to update data

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

crossupsellUpdate(
id: String!
input: CrossupsellUpdateInput!
): Crossupsell!

Arguments

crossupsellUpdate.id ● String! non-null scalar

ID of the recommendation to update.

crossupsellUpdate.input ● CrossupsellUpdateInput! non-null input

Recommendation update data.

Type

Crossupsell object

Cross-sell and upsell recommendation entity representing product relationship rules.

Defines recommendation relationships between products or product clusters to drive sales optimization. Each recommendation specifies a source (trigger) and target (suggested) product or cluster, along with the relationship type and optional categorization.

Supports both individual product recommendations and scalable cluster-based recommendations for comprehensive product relationship management.