Skip to main content

crossupsell

Retrieve a single cross- or up-sell relationship by global identifier.

Returns the relationship along with the source and target records (products or clusters) it links.

Possible errors:

  • CROSS_UPSELL_NOT_FOUND: The supplied identifier did not match any cross-upsell relationship.

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

crossupsell(
id: String!
companyId: Int
): Crossupsell!

Arguments​

crossupsell.id ● String! non-null scalar​

Global identifier of the cross-upsell relationship to retrieve.

crossupsell.companyId ● Int scalar​

Company whose exclusive grants decide whether an exclusive product is returned, e.g. the company of a cart. Must be one of the caller's companies; defaults to the caller's own company.

Type​

Crossupsell object​

Cross-upsell relationship supporting mixed product/cluster relationships