PagedQueryResult containing an array of ProductSelection.

interface ProductSelectionPagedQueryResponse {
    count: number;
    limit: number;
    offset: number;
    results: ProductSelection[];
    total?: number;
}

Properties

count: number

Actual number of results returned.

limit: number

Number of results requested.

offset: number

Number of elements skipped.

results: ProductSelection[]

ProductSelections matching the query.

total?: number

Total number of results matching the query. This number is an estimation that is not strongly consistent. Unlike other endpoints, the Product Selection endpoint does not return this field by default. To get total, pass the query parameter withTotal set to true. When the results are filtered with a Query Predicate, total is subject to a limit.