Employees
An Employee
is an individual who works for the company of the linked account. The Employee
model contains both contractors and full time employees.
- An
Employee
is a contractor ifis_contractor
property isTrue
- An
Employee
is a full time employee ifis_contractor
property isFalse
Properties
status
EnumRequired
The employee's status in the accounting system. Possible values include:
ACTIVE
, INACTIVE
. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.id
UUIDRequired
remote_id
StringOptional
The third-party API ID of the matching object.
created_at
DateTime (ISO 8601)Required
The datetime that this object was created by Merge.
modified_at
DateTime (ISO 8601)Required
The datetime that this object was modified by Merge.
first_name
StringOptional
The employee's first name.
last_name
StringOptional
The employee's last name.
is_contractor
BooleanOptional
True
if the employee is a contractor, False
if not.employee_number
StringOptional
The employee's internal identification number.
email_address
StringOptional
The employee's email address.
company
UUIDOptional
The subsidiary that the employee belongs to.
remote_was_deleted
BooleanRequired
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
field_mappings
ObjectOptional
remote_data
RemoteData[]Optional
GET
/employees
Betahttps://api.merge.dev/api/accounting/v1/employees
US
EU
APAC
Returns a list of Employee
objects.
Query & Path Parameters
cursor
StringOptional
The pagination cursor value.
expand
StringOptional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
include_deleted_data
BooleanOptional
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
include_remote_data
BooleanOptional
Whether to include the original data Merge fetched from the third-party to produce these models.
include_shell_data
BooleanOptional
Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).
page_size
IntegerOptional
Number of results to return per page.
Field support by integration
See all supported fieldsUse the /linked-accounts endpoint to pull platform support information
NetSuite
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API
Supported Response Fields
company
UUIDemail_address
Stringemployee_number
Stringfirst_name
Stringis_contractor
Booleanlast_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringstatus
EnumQuickBooks Online
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API
Supported Response Fields
email_address
Stringemployee_number
Stringfirst_name
Stringis_contractor
Booleanlast_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringstatus
EnumSage Intacct
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API
Supported Response Fields
company
UUIDemail_address
Stringemployee_number
Stringfirst_name
Stringis_contractor
Booleanlast_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringstatus
EnumXero
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API
Supported Response Fields
first_name
Stringlast_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringstatus
EnumGET
/employees/{id}
Betahttps://api.merge.dev/api/accounting/v1/employees/{id}
US
EU
APAC
Returns an Employee
object with the given id
.
Query & Path Parameters
expand
StringOptional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
id
UUIDRequired
include_remote_data
BooleanOptional
Whether to include the original data Merge fetched from the third-party to produce these models.
Field support by integration
See all supported fieldsUse the /linked-accounts endpoint to pull platform support information
NetSuite
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API
Supported Response Fields
company
UUIDemail_address
Stringemployee_number
Stringfirst_name
Stringis_contractor
Booleanlast_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringstatus
EnumQuickBooks Online
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API
Supported Response Fields
email_address
Stringemployee_number
Stringfirst_name
Stringis_contractor
Booleanlast_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringstatus
EnumSage Intacct
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API
Supported Response Fields
company
UUIDemail_address
Stringemployee_number
Stringfirst_name
Stringis_contractor
Booleanlast_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringstatus
EnumXero
On top of normalized Common Models, Merge also supports Passthrough Requests and deleted data detection for this platform's API
Supported Response Fields
first_name
Stringlast_name
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringstatus
Enum