Skip to main content

CrossupsellSearchInput

Search criteria for cross-upsell relationships with STI support

input CrossupsellSearchInput {
ids: [String!]
types: [CrossupsellType!]
subTypes: [String!]
baseProductUuidsFrom: [ID!]
baseProductUuidsTo: [ID!]
productIdsFrom: [Int!]
productIdsTo: [Int!]
clusterIdsFrom: [Int!]
clusterIdsTo: [Int!]
hidden: Boolean
createdAt: DateSearchInput
lastModifiedAt: DateSearchInput
sortInputs: [CrossupsellSortInput!]
sortBy: [CrossupsellSortInput!]
applyOrderlists: Boolean
orderlistIds: [Int!]
userId: Int
companyId: Int
page: Int
offset: Int
}

Fields

CrossupsellSearchInput.ids ● [String!] list scalar

Filter by specific cross-upsell IDs

CrossupsellSearchInput.types ● [CrossupsellType!] list enum

Filter by cross-upsell types

CrossupsellSearchInput.subTypes ● [String!] list scalar

Filter by sub-types

CrossupsellSearchInput.baseProductUuidsFrom ● [ID!] list scalar

Filter by source base product UUIDs (STI-based)

CrossupsellSearchInput.baseProductUuidsTo ● [ID!] list scalar

Filter by target base product UUIDs (STI-based)

CrossupsellSearchInput.productIdsFrom ● [Int!] list scalar

Filter by source product IDs (legacy - for backward compatibility)

CrossupsellSearchInput.productIdsTo ● [Int!] list scalar

Filter by target product IDs (legacy - for backward compatibility)

CrossupsellSearchInput.clusterIdsFrom ● [Int!] list scalar

Filter by source cluster IDs (legacy - for backward compatibility)

CrossupsellSearchInput.clusterIdsTo ● [Int!] list scalar

Filter by target cluster IDs (legacy - for backward compatibility)

CrossupsellSearchInput.hidden ● Boolean scalar

Filter by hidden status of related base products. true = only hidden, false = only non-hidden, null = no filter.

CrossupsellSearchInput.createdAt ● DateSearchInput input

Filter recommendations by their creation date range.

CrossupsellSearchInput.lastModifiedAt ● DateSearchInput input

Filter recommendations by their last modification date range.

CrossupsellSearchInput.sortInputs ● [CrossupsellSortInput!] list input

Specify multiple sorting criteria for the recommendation results. Results will be sorted by the first criteria, then by subsequent criteria for ties.

CrossupsellSearchInput.sortBy ● [CrossupsellSortInput!] list input

Legacy field name for sorting. Use sortInputs instead. Specify multiple sorting criteria for the recommendation results.

CrossupsellSearchInput.applyOrderlists ● Boolean scalar

Enable or disable applying orderlists

CrossupsellSearchInput.orderlistIds ● [Int!] list scalar

List orderlists to apply

CrossupsellSearchInput.userId ● Int scalar

Browse catalog as a specific User. Permissions, orderlists, favorite will be merged with the logged in user.

CrossupsellSearchInput.companyId ● Int scalar

Browse catalog as a specific Company. Permissions, orderlists, favorite will be merged with the logged in user.

CrossupsellSearchInput.page ● Int scalar

Page number for pagination

CrossupsellSearchInput.offset ● Int scalar

Number of items per page

Member Of

crossupsells query