Search Accounts
Search for Account entities.
This endpoint executes a search query for Accounts based on the user specified search criteria. The search query is customizable, allowing for complex nested conditions and sorting. The returned list of Accounts can be paginated for easier management.
GET
Search Accounts
Authorizations
Query Parameters
Query for data using special syntax:
- Query parameters should be delimited using the $ (dollar sign).
- Allowed comparators are:
- (greater than) >
- (greater than or equal to) >=
- (equal to) :
- (less than) <
- (less than or equal to) <=
- (match phrase/prefix) ~
- Allowed parameters are: name, code, currency, purchaseOrderNumber, parentAccountId, codes, id, createdBy, dtCreated, lastModifiedBy, ids.
- Query example:
- searchQuery=name~Premium On$currency:USD.
- This query is translated into: find accounts whose name contains the phrase/prefix 'Premium On' AND the account currency is USD.
Note: Using the ~ match phrase/prefix comparator. For best results, we recommend treating this as a "starts with" comparator for your search query.