Contacts
The Contact object refers to either a supplier or a customer.
The Contact object
Properties

idString
Required

remote_idString
Optional
The third-party API ID of the matching object.

nameString
Optional
The contact's name.

is_supplierBoolean
Optional
Whether the contact is a supplier.

is_customerBoolean
Optional
Whether the contact is a customer.

email_addressString
Optional
The contact's email address.

tax_numberString
Optional
The contact's tax number.

statusEnum
Optional
The contact's status Possible values include: ACTIVE, ARCHIVED, or - in cases where there is no clear mapping - the original value passed through.

currencyString
Optional
The currency the contact's transactions are in.

remote_updated_atString
Optional
When the third party's contact was updated.

companyString
Optional
The company the contact belongs to.

addressesArray
Required
Address object IDs for the given Contacts object.

phone_numbersAccountingPhoneNumber[]
Required
AccountingPhoneNumber object for the given Contacts object.
The AccountingPhoneNumber object
The AccountingPhoneNumber object is used to represent a contact's or company's phone number.
JSON
{
"number": "+3198675309",
"type": "Mobile",
"modified_at": "2021-10-16T00:00:00Z"
}
Properties

numberString
Optional
The phone number.

typeString
Optional
The phone number's type.

modified_atString
Required
This is the datetime that this object was last updated by Merge

remote_was_deletedBoolean
Required
Indicates whether or not this object has been deleted by third party webhooks.

field_mappingsObject
Optional

modified_atString
Required
This is the datetime that this object was last updated by Merge

remote_dataRemoteData[]
Optional

The Contact object
JSON
{
"id": "c640b80b-fac9-409f-aa19-1f9221aec445",
"remote_id": "11167",
"name": "Gil Feig's Pickleball Team",
"is_supplier": true,
"is_customer": true,
"email_address": "[email protected]",
"tax_number": "12-3456789",
"status": "ACTIVE",
"currency": "USD",
"remote_updated_at": "2020-03-31T00:00:00Z",
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"addresses": [
"2f2702aa-8948-492b-a412-2acdf6d2c499",
"d98c7428-8dda-48a8-a1da-c570f65e2375"
],
"phone_numbers": [
{
"number": "+3198675309",
"type": "Mobile"
}
],
"remote_was_deleted": true,
Show advanced fields
}

GET
/contacts

Returns a list of Contact objects.


Header Parameters

AuthorizationString
Required
Token-based authentication with required prefix "Bearer"

X-Account-TokenString
Required
Token identifying the end user.
Query & Path Parameters

company_idString
Optional
If provided, will only return contacts for this company.

created_afterString
Optional
If provided, will only return objects created after this datetime.

created_beforeString
Optional
If provided, will only return objects created before this datetime.

cursorString
Optional
The pagination cursor value.

expandString
Optional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.

include_deleted_dataBoolean
Optional
Whether to include data that was marked as deleted by third party webhooks.

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

modified_afterString
Optional
If provided, only objects synced by Merge after this date time will be returned.

modified_beforeString
Optional
If provided, only objects synced by Merge before this date time will be returned.

page_sizeInteger
Optional
Number of results to return per page.

remote_fieldsString
Optional
Deprecated. Use show_enum_origins.

remote_idString
Optional
The API provider's ID for the given object.

show_enum_originsString
Optional
Which fields should be returned in non-normalized form.

Response
JSON
{
"next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
"previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ",
"results": [
{
"id": "c640b80b-fac9-409f-aa19-1f9221aec445",
"remote_id": "11167",
"name": "Gil Feig's Pickleball Team",
"is_supplier": true,
"is_customer": true,
"email_address": "[email protected]",
"tax_number": "12-3456789",
"status": "ACTIVE",
"currency": "USD",
"remote_updated_at": "2020-03-31T00:00:00Z",
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"addresses": [
"2f2702aa-8948-492b-a412-2acdf6d2c499",
"d98c7428-8dda-48a8-a1da-c570f65e2375"
],
"phone_numbers": [
{
"number": "+3198675309",
"type": "Mobile"
}
],
"remote_was_deleted": true,
Show advanced fields
}
]
}
Field support by platform
Clear Books
Clear Books

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_updated_atString

tax_numberString
FreeAgent
FreeAgent

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


email_addressString

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
FreshBooks
FreshBooks

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


addressesArray

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Microsoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business Central

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


addressesArray

companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

tax_numberString
Moneybird
Moneybird

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


email_addressString

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

tax_numberString
NetSuite
NetSuite

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum
QuickBooks Online
QuickBooks Online

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


addressesArray

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Sage Business Cloud Accounting
Sage Business Cloud Accounting

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

tax_numberString
Sage Intacct
Sage Intacct

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Wave Financial
Wave Financial

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum
Workday
Workday

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

tax_numberString
Xero
Xero

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Zoho Books
Zoho Books

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum
Hint: Use the /linked-accounts endpoint to pull platform support information.
POST
/contacts

Creates a Contact object with the given values.


Header Parameters

AuthorizationString
Required
Token-based authentication with required prefix "Bearer"

X-Account-TokenString
Required
Token identifying the end user.
Query & Path Parameters

is_debug_modeBoolean
Optional
Whether to include debug fields (such as log file links) in the response.

run_asyncBoolean
Optional
Whether or not third-party updates should be run asynchronously.
Body Parameters

modelObject
Required
Find available fields below under “Model Parameters”.
Model Parameters
View app-specific writable fields under “Field support by platform” in this section.

nameString
The contact's name.

is_supplierBoolean
Whether the contact is a supplier.

is_customerBoolean
Whether the contact is a customer.

email_addressString
The contact's email address.

tax_numberString
The contact's tax number.

statusEnum
The contact's status Must pass in one of the following choices: ACTIVE, ARCHIVED.

currencyString
The currency the contact's transactions are in.

companyString
The company the contact belongs to. Must pass in a valid Merge ID, which can be obtained from the id field in the Company object.

addressesArray
Address object IDs for the given Contacts object.

phone_numbersArray
AccountingPhoneNumber object for the given Contacts object.

integration_paramsObject

linked_account_paramsObject

POST v1/contacts
JSON
{
"model": {
"name": "Gil Feig's Pickleball Team",
"is_supplier": true,
"is_customer": true,
"email_address": "[email protected]",
"tax_number": "12-3456789",
"status": "ACTIVE",
"currency": "USD",
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"addresses": [
"2f2702aa-8948-492b-a412-2acdf6d2c499",
"d98c7428-8dda-48a8-a1da-c570f65e2375"
],
"phone_numbers": [
{
"number": "+3198675309",
"type": "Mobile"
}
]
}
}
Response
JSON
{
"model": {
"id": "c640b80b-fac9-409f-aa19-1f9221aec445",
"remote_id": "11167",
"name": "Gil Feig's Pickleball Team",
"is_supplier": true,
"is_customer": true,
"email_address": "[email protected]",
"tax_number": "12-3456789",
"status": "ACTIVE",
"currency": "USD",
"remote_updated_at": "2020-03-31T00:00:00Z",
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"addresses": [
"2f2702aa-8948-492b-a412-2acdf6d2c499",
"d98c7428-8dda-48a8-a1da-c570f65e2375"
],
"phone_numbers": [
{
"number": "+3198675309",
"type": "Mobile"
}
],
"remote_was_deleted": true,
Show advanced fields
}
}
Field support by platform
Microsoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business Central

Merge supports Passthrough Requests to this platform's API

Supported POST Model Parameters


companyString
Required

currencyString
Optional

email_addressString
Optional

is_customerBoolean
Required

is_supplierBoolean
Required

nameString
Required

remote_idString
Optional

remote_updated_atString
Optional

tax_numberString
Optional
NetSuite
NetSuite

Merge supports Passthrough Requests to this platform's API

Supported POST Model Parameters


companyString
Required

email_addressString
Optional

is_customerBoolean
Required

is_supplierBoolean
Required

nameString
Required

remote_idString
Optional

remote_updated_atString
Optional

statusEnum
Optional

Additional POST Parameters


integration_paramsObject
Required
is_personString
Required
QuickBooks Online
QuickBooks Online

Merge supports Passthrough Requests to this platform's API

Supported POST Model Parameters


currencyString
Optional

email_addressString
Optional

is_customerBoolean
Optional

is_supplierBoolean
Optional

nameString
Required

remote_idString
Optional

remote_updated_atString
Optional

statusEnum
Optional

tax_numberString
Optional
Xero
Xero

Merge supports Passthrough Requests to this platform's API

Supported POST Model Parameters


currencyString
Optional

email_addressString
Optional

is_customerBoolean
Optional

is_supplierBoolean
Optional

nameString
Required

remote_idString
Optional

statusEnum
Optional

tax_numberString
Optional
Hint: Use the /linked-accounts endpoint to pull platform support information.
GET
/contacts/{id}

Returns a Contact object with the given id.


Header Parameters

AuthorizationString
Required
Token-based authentication with required prefix "Bearer"

X-Account-TokenString
Required
Token identifying the end user.
Query & Path Parameters

expandString
Optional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.

idString
Required

include_remote_dataBoolean
Optional
Whether to include the original data Merge fetched from the third-party to produce these models.

remote_fieldsString
Optional
Deprecated. Use show_enum_origins.

show_enum_originsString
Optional
Which fields should be returned in non-normalized form.

Response
JSON
{
"id": "c640b80b-fac9-409f-aa19-1f9221aec445",
"remote_id": "11167",
"name": "Gil Feig's Pickleball Team",
"is_supplier": true,
"is_customer": true,
"email_address": "[email protected]",
"tax_number": "12-3456789",
"status": "ACTIVE",
"currency": "USD",
"remote_updated_at": "2020-03-31T00:00:00Z",
"company": "595c8f97-2ac4-45b7-b000-41bdf43240b5",
"addresses": [
"2f2702aa-8948-492b-a412-2acdf6d2c499",
"d98c7428-8dda-48a8-a1da-c570f65e2375"
],
"phone_numbers": [
{
"number": "+3198675309",
"type": "Mobile"
}
],
"remote_was_deleted": true,
Show advanced fields
}
Field support by platform
Clear Books
Clear Books

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_updated_atString

tax_numberString
FreeAgent
FreeAgent

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


email_addressString

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
FreshBooks
FreshBooks

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


addressesArray

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Microsoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business Central

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


addressesArray

companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

tax_numberString
Moneybird
Moneybird

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


email_addressString

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

tax_numberString
NetSuite
NetSuite

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum
QuickBooks Online
QuickBooks Online

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


addressesArray

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Sage Business Cloud Accounting
Sage Business Cloud Accounting

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

tax_numberString
Sage Intacct
Sage Intacct

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Wave Financial
Wave Financial

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum
Workday
Workday

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

tax_numberString
Xero
Xero

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Zoho Books
Zoho Books

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum
Hint: Use the /linked-accounts endpoint to pull platform support information.
GET
/contacts/meta/post

Returns metadata for Contact POSTs.


Header Parameters

AuthorizationString
Required
Token-based authentication with required prefix "Bearer"

X-Account-TokenString
Required
Token identifying the end user.
Response
JSON
{
"request_schema": {},
"remote_field_classes": {},
"status": {
"linked_account_status": "string",
"can_make_request": true
},
"has_conditional_params": true,
"has_required_linked_account_params": true
}
Field support by platform
Clear Books
Clear Books

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_updated_atString

tax_numberString
FreeAgent
FreeAgent

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


email_addressString

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
FreshBooks
FreshBooks

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


addressesArray

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Microsoft Dynamics 365 Business Central
Microsoft Dynamics 365 Business Central

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


addressesArray

companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

tax_numberString
Moneybird
Moneybird

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


email_addressString

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

tax_numberString
NetSuite
NetSuite

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum
QuickBooks Online
QuickBooks Online

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


addressesArray

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

phone_numbersAccountingPhoneNumber[]
numberstring
typestring
modified_atstring

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Sage Business Cloud Accounting
Sage Business Cloud Accounting

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

tax_numberString
Sage Intacct
Sage Intacct

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Wave Financial
Wave Financial

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum
Workday
Workday

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

tax_numberString
Xero
Xero

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum

tax_numberString
Zoho Books
Zoho Books

Merge supports Passthrough Requests to this platform's API

Supported Response Fields


companyString

currencyString

email_addressString

is_customerBoolean

is_supplierBoolean

nameString

remote_dataRemoteData[]
pathstring
dataobject

remote_idString

remote_updated_atString

statusEnum
Hint: Use the /linked-accounts endpoint to pull platform support information.