ComputedOrderlistsResponse
Computed orderlists result containing merged positive and negative product/cluster IDs.
This output represents the result of merging all orderlists for a customer or contact/company. Positive orderlists are filtered to exclude any IDs that appear in negative orderlists. The computation process:
- Retrieves all active orderlists for the specified customer/contact/company
- Separates orderlists by type (POSITIVE/NEGATIVE)
- Combines product IDs and cluster IDs from each type
- Filters out negative IDs from positive lists (negative orderlists take precedence)
type ComputedOrderlistsResponse {
positiveOrderlistsProductIds: [Int!]!
negativeOrderListsProductIds: [Int!]!
positiveOrderListsClusterIds: [Int!]!
negativeOrderListsClusterIds: [Int!]!
positiveOrderlistsCount: Int!
negativeOrderlistsCount: Int!
}
Fields
ComputedOrderlistsResponse.positiveOrderlistsProductIds ● [Int!]! non-null scalar
Merged product IDs from positive orderlists, excluding any IDs from negative orderlists.
These are the products that should be included for ordering after applying negative orderlist exclusions. If a product ID appears in both positive and negative orderlists, it will be excluded from this array.
ComputedOrderlistsResponse.negativeOrderListsProductIds ● [Int!]! non-null scalar
Merged product IDs from negative orderlists.
These are the products that should be excluded from ordering. All product IDs from negative orderlists are included in this array.
ComputedOrderlistsResponse.positiveOrderListsClusterIds ● [Int!]! non-null scalar
Merged cluster IDs from positive orderlists, excluding any IDs from negative orderlists.
These are the clusters that should be included for ordering after applying negative orderlist exclusions. If a cluster ID appears in both positive and negative orderlists, it will be excluded from this array.
ComputedOrderlistsResponse.negativeOrderListsClusterIds ● [Int!]! non-null scalar
Merged cluster IDs from negative orderlists.
These are the clusters that should be excluded from ordering. All cluster IDs from negative orderlists are included in this array.
ComputedOrderlistsResponse.positiveOrderlistsCount ● Int! non-null scalar
Count of positive orderlists that were merged.
ComputedOrderlistsResponse.negativeOrderlistsCount ● Int! non-null scalar
Count of negative orderlists that were merged.
Returned By
computedOrderlists query