Skip to main content

crossupsellCreate

Create a cross- or up-sell relationship between two catalogue records.

The source and target can each be a product or a cluster. Duplicate relationships are rejected.

Possible errors:

  • CROSS_UPSELL_DUPLICATE: A relationship of the same type already exists between the supplied source and target.
  • BASE_PRODUCT_NOT_FOUND: The supplied source or target record could not be located.
  • SCHEMA_VALIDATION: One or more input fields failed validation.

AUTH: Role=[product.OWNER]

crossupsellCreate(
input: CrossupsellCreateInput!
): Crossupsell!

Arguments

crossupsellCreate.input ● CrossupsellCreateInput! non-null input

Cross-upsell creation data including source, target, type and sub-type.

Type

Crossupsell object

Cross-upsell relationship supporting mixed product/cluster relationships