@gradientedge/commercetools-utils
    Preparing search index...

    Interface VariantPagedQueryResponse

    PagedQueryResult with results containing an array of Variant.

    interface VariantPagedQueryResponse {
        count: number;
        limit: number;
        offset: number;
        results: Variant[];
        total?: number;
    }
    Index
    count: number

    Actual number of results returned.

    limit: number

    Number of results requested.

    offset: number

    Number of elements skipped.

    results: Variant[]

    Variants 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. Unless absolutely necessary, use the query parameter withTotal=false to improve performance by deactivating the calculation of this field. When the results are filtered with a Query Predicate, total is subject to a limit.