Returns information on one or more customers by searching via a SQL query. Results can be paged.
A valid API key with a scope of Customers | Read
The SQL Boolean expression used to filter the records being queried. If no query is supplied, then nothing will be returned.
The page number of the results to return, as dictated by the number of records per page (PageSize). The default page number is 1.
The maximum number of records to return per page. The default value is 50.
"Where": "LeadSource = 'Radio' AND UPPER(BillingState) IN ('VA', 'NC', 'SC')",
The “where” property of the object must be an SQL expression and should not actually contain the keyword “WHERE”. The expressions forbid the following:
- Anything that is not a syntactically correct SQL expression which results in a Boolean.
- Nested SELECTs.
- References to tables.
- References to columns not explicitly allowed by the API method.
- References to named parameters.
- Aggregate functions.
- Scalar functions not explicitly allowed by the API.
None
One of more customers were returned.
Customers could not be queried. The reason why will be returned.
The API key is missing, invalid, disabled, or does not have the correct scope.
The return body will be an array of Customers objects, like those of the Read endpoint.