PagedQueryResult with results containing an array of Cart.

interface CartPagedQueryResponse {
    count: number;
    limit: number;
    offset: number;
    results: Cart[];
    total?: number;
}

Properties

count: number

Actual number of results returned.

limit: number

Number of results requested.

offset: number

Number of elements skipped.

results: Cart[]

Carts matching the query.

total?: number

Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter withTotal=false. When the results are filtered with a Query Predicate, total is subject to a limit.