Retrieve Accounts that belong to a Company
Retrieve Accounts for a Company.
Filter usage:
- to filter a single state:
filter[account_types][]=customer - to filter multiple states:
filter[account_types][]=customer&filter[account_types][]=vendor
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.
"en"
Path Parameters
Company ID
Query Parameters
The maximum number of paginated results to return
x <= 100The cursor to start paginating after
The cursor to stop paginating at
AccountType filter
Search string for datagrid queries
Filter on whether the Account has associated MaterialRates
Only show discarded Accounts
The associated Department IDs. Use 'none' to filter for records without a Department.
Connected Company Type enum filters (see CompanyType enum for the list of values)
Filter on whether the resource (e.g. Account, User) has associated AutoAddOns
Response
OK