Interface CustomerSearchParams

Search customer parameters

interface CustomerSearchParams {
    fields?: ("code" | "email" | "phone" | "company" | "name")[];
    limit?: number;
    query: string;
}

Properties

Properties

fields?: ("code" | "email" | "phone" | "company" | "name")[]

Fields to search in

limit?: number

Number of results to return

query: string

Search query (email, phone, name, etc.)