CrossupsellSortField
Available fields for sorting cross-sell and upsell recommendation results in search and retrieval operations
enum CrossupsellSortField {
ID
TYPE
SUBTYPE
PRODUCT_ID_FROM
CLUSTER_ID_FROM
PRODUCT_ID_TO
CLUSTER_ID_TO
LAST_MODIFIED_AT
CREATED_AT
}
Values
CrossupsellSortField.ID
Sort by recommendation unique identifier. Provides consistent ordering based on system-generated IDs.
CrossupsellSortField.TYPE
Sort by recommendation type (accessories, alternatives, etc.). Groups recommendations by their relationship category.
CrossupsellSortField.SUBTYPE
Sort by recommendation subtype for more granular categorization within the main type.
CrossupsellSortField.PRODUCT_ID_FROM
Sort by source product identifier. Orders recommendations by the product that triggers the suggestion.
CrossupsellSortField.CLUSTER_ID_FROM
Sort by source product cluster identifier. Groups recommendations by the cluster that triggers suggestions.
CrossupsellSortField.PRODUCT_ID_TO
Sort by target product identifier. Orders recommendations by the product being suggested.
CrossupsellSortField.CLUSTER_ID_TO
Sort by target product cluster identifier. Groups recommendations by the cluster being suggested.
CrossupsellSortField.LAST_MODIFIED_AT
Sort by last modification timestamp. Shows most recently updated recommendations first for tracking changes.
CrossupsellSortField.CREATED_AT
Sort by creation timestamp. Shows newest or oldest recommendations first based on when they were created.
Member Of
CrossupsellSortInput
input