Skip to main content

Crossupsell

Cross-upsell relationship supporting mixed product/cluster relationships

type Crossupsell {
id: String!
type: CrossupsellType!
subType: String
baseProductUuidFrom: ID!
baseProductUuidTo: ID!
baseProductFrom(hidden: Boolean): IBaseProduct
baseProductTo(hidden: Boolean): IBaseProduct
createdAt: DateTime!
lastModifiedAt: DateTime!
productIdFrom: Float
productIdTo: Float
clusterIdFrom: Float
clusterIdTo: Float
productFrom(hidden: Boolean): IBaseProduct
productTo(hidden: Boolean): IBaseProduct
clusterFrom(hidden: Boolean): IBaseProduct
clusterTo(hidden: Boolean): IBaseProduct
}

Fields

Crossupsell.id ● String! non-null scalar

Globally unique identifier for the cross- or up-sell relationship.

Crossupsell.type ● CrossupsellType! non-null enum

Category of the relationship, such as cross-sell, up-sell, related, or bundle.

Crossupsell.subType ● String scalar

Sub-classification refining the relationship within its category.

Crossupsell.baseProductUuidFrom ● ID! non-null scalar

Identifier of the source record (product or cluster) the relationship originates from.

Crossupsell.baseProductUuidTo ● ID! non-null scalar

Identifier of the target record (product or cluster) the relationship points to.

Crossupsell.baseProductFrom ● IBaseProduct interface

Source record (product or cluster) the relationship originates from.

Crossupsell.baseProductFrom.hidden ● Boolean scalar

Crossupsell.baseProductTo ● IBaseProduct interface

Target record (product or cluster) the relationship points to.

Crossupsell.baseProductTo.hidden ● Boolean scalar

Crossupsell.createdAt ● DateTime! non-null scalar

Timestamp marking when the record was created, in UTC ISO 8601 format.

Crossupsell.lastModifiedAt ● DateTime! non-null scalar

Timestamp marking the last modification of the record, in UTC ISO 8601 format.

Crossupsell.productIdFrom ● Float scalar

Source product identifier retained for compatibility with legacy integrations.

Crossupsell.productIdTo ● Float scalar

Target product identifier retained for compatibility with legacy integrations.

Crossupsell.clusterIdFrom ● Float scalar

Source cluster identifier retained for compatibility with legacy integrations.

Crossupsell.clusterIdTo ● Float scalar

Target cluster identifier retained for compatibility with legacy integrations.

Crossupsell.productFrom ● IBaseProduct interface

Source product (null if baseProductFrom is not a product)

Crossupsell.productFrom.hidden ● Boolean scalar

Crossupsell.productTo ● IBaseProduct interface

Target product (null if baseProductTo is not a product)

Crossupsell.productTo.hidden ● Boolean scalar

Crossupsell.clusterFrom ● IBaseProduct interface

Source cluster (null if baseProductFrom is not a cluster)

Crossupsell.clusterFrom.hidden ● Boolean scalar

Crossupsell.clusterTo ● IBaseProduct interface

Target cluster (null if baseProductTo is not a cluster)

Crossupsell.clusterTo.hidden ● Boolean scalar

Returned By

crossupsell query ● crossupsellCreate mutation ● crossupsellUpdate mutation

Member Of

CrossupsellsResponse object