List customers

Retrieves a paginated list of the customers associated with your account.

Results are ordered by customerName ascending unless the sort parameter is supplied. If page is beyond the last page of results, the last available page is returned. This endpoint supports filtering, sorting, and pagination.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
≥ 1
Defaults to 1

The page parameter defines the specific page of results you want returned in the response. This is a 1-based value. If the requested page is beyond the last page of results, the last available page is returned.

integer
1 to 100
Defaults to 10

The perPage parameter controls how many customer records are included in each page of the result set. The default is 10 and the max is 100.

string
enum
Defaults to 0

Restricts results by customer status. Accepts either the numeric status ID or a status word.

  • 0-All non-archived statuses (Default)
  • 1-Active
  • 2-Inactive
  • active-Active
  • inactive-Inactive

Valid status values can also be retrieved from the List customer statuses endpoint.

Allowed:
string
length ≤ 255

The $filter parameter can be used to construct a filter statement that will be used to search for specific customer records. The expression must be URL-encoded and may not exceed 255 characters. For more information on filtering, see Filtering with CereTax APIs.

Comparison operators: eq, ne, gt, ge, lt, le.

Logical operators: and, or, not.

String functions: contains, startswith, endswith, length, indexof, tolower, toupper, trim, concat.

Date and numeric functions: year, month, day, hour, minute, second, date, time, now, round, floor, ceiling.

Filterable fields: customerId, customerName, customerAccount, taxpayerId, systemOriginId, statusId, createdAt, and modifiedAt.

Child collection fields (addresses, contacts, DBAs, and alternate IDs) are not filterable, and an unrecognized field name returns a 422. The expression is lowercased before it is applied, so literal values are matched case-insensitively.

string

A comma separated list of fields used to sort the result set. Prefix a field with a hyphen ( - ) to sort that field in descending order. The default sort is customerName ascending.

Sortable fields: customerId, customerName, customerAccount, taxpayerId, systemOriginId, statusId, createdAt, createdBy, modifiedAt, modifiedBy, activeCertificatesCount, attnName, addressType, addressLine1, addressLine2, city, region, postalCode, country, contactName, phoneNumber, faxNumber, emailAddress, dbaName, idType, idValue, idExpirationDate, and stateOfIssue.

Sorting on a child collection field orders results by the first related record. An unrecognized field name returns a 422.

Responses

204

No customers matched the request.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json