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

    Interface CustomerSearchRequest

    interface CustomerSearchRequest {
        limit?: number;
        offset?: number;
        query?: _SearchQuery;
        sort?: SearchSorting[];
    }
    Index

    Properties

    limit?: number

    The maximum number of search results to be returned.

    offset?: number

    The number of search results to be skipped in the response for pagination.

    query?: _SearchQuery

    The Customer search query.

    sort?: SearchSorting[]

    Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.