| Name |
Type |
Description |
Notes |
| owner |
String |
The account's owner. |
[optional] |
| name |
String |
The account's name. |
[optional] |
| description |
String |
The account's description. |
[optional] |
| industry |
String |
The account's industry. |
[optional] |
| website |
String |
The account's website. |
[optional] |
| number_of_employees |
Integer |
The account's number of employees. |
[optional] |
| addresses |
Array<Address> |
|
[optional][readonly] |
| phone_numbers |
Array<PhoneNumber> |
|
[optional][readonly] |
| last_activity_at |
Time |
The last date (either most recent or furthest in the future) of when an activity occurs in an account. |
[optional] |
| remote_updated_at |
Time |
When the CRM system account data was last modified by a user with a login. |
[optional] |
| remote_created_at |
Time |
When the third party's account was created. |
[optional] |
| remote_was_deleted |
Boolean |
|
[optional][readonly] |
| id |
String |
|
[optional][readonly] |
| remote_id |
String |
The third-party API ID of the matching object. |
[optional] |
| modified_at |
Time |
This is the datetime that this object was last updated by Merge |
[optional][readonly] |
| field_mappings |
Hash<String, AnyType> |
|
[optional][readonly] |
| remote_data |
Array<RemoteData> |
|
[optional][readonly] |
| remote_fields |
Array<RemoteField> |
|
[optional][readonly] |
require 'merge_crm_client'
instance = MergeCRMClient::Account.new(
owner: 0258cbc6-6020-430a-848e-aafacbadf4ae,
name: Merge API,
description: One API for all integrations,
industry: API's,
website: https://merge.dev/,
number_of_employees: 276000,
addresses: [{"street_1":"50 Bowling Green Dr","street_2":"Golden Gate Park","city":"San Francisco","state":"CA","postal_code":"94122","country":"US","address_type":"Shipping"}],
phone_numbers: [{"phone_number":"+16788879833","phone_number_type":"Mobile"}],
last_activity_at: 2022-02-10T00:00Z,
remote_updated_at: 2022-01-09T00:00Z,
remote_created_at: 2021-11-10T00:00Z,
remote_was_deleted: null,
id: 0958cbc6-6040-430a-848e-aafacbadf4ae,
remote_id: 19202938,
modified_at: 2021-10-16T00:00Z,
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
remote_data: [{"path":"/accounts","data":["Varies by platform"]}],
remote_fields: null
)