Skip to main content

CrossupsellCreateInput

Input for creating cross-upsell relationships with STI support

input CrossupsellCreateInput {
type: CrossupsellType!
subType: String
baseProductUuidFrom: ID
baseProductUuidTo: ID
productIdFrom: Int
clusterIdFrom: Int
productIdTo: Int
clusterIdTo: Int
}

Fields​

CrossupsellCreateInput.type ● CrossupsellType! non-null enum​

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

CrossupsellCreateInput.subType ● String scalar​

Sub-classification refining the relationship within its category.

CrossupsellCreateInput.baseProductUuidFrom ● ID scalar​

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

CrossupsellCreateInput.baseProductUuidTo ● ID scalar​

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

CrossupsellCreateInput.productIdFrom ● Int scalar​

Source product identifier retained for compatibility with legacy integrations.

CrossupsellCreateInput.clusterIdFrom ● Int scalar​

Source cluster identifier retained for compatibility with legacy integrations.

CrossupsellCreateInput.productIdTo ● Int scalar​

Target product identifier retained for compatibility with legacy integrations.

CrossupsellCreateInput.clusterIdTo ● Int scalar​

Target cluster identifier retained for compatibility with legacy integrations.

Member Of​

crossupsellCreate mutation