search Customers
suspend fun searchCustomers(request: CustomersRequests.SearchCustomersRequest): Pair<List<FrameObjects.Customer>?, NetworkingError?>
Searches customers using the criteria specified in the request.
Return
A pair containing the matching list of FrameObjects.Customer objects on success, or a NetworkingError on failure.
Parameters
request
The search parameters including optional query string, email, and date filters.
fun searchCustomers(request: CustomersRequests.SearchCustomersRequest, completionHandler: (List<FrameObjects.Customer>?, NetworkingError?) -> Unit)
Searches customers using the criteria specified in the request and delivers results to a callback.
Parameters
request
The search parameters including optional query string, email, and date filters.
completion Handler
Invoked with the matching list of FrameObjects.Customer objects on success, or a NetworkingError on failure.