MergeCRMClient::LeadRequest
Name
Type
Description
Notes
owner
String
The lead's owner.
[optional]
lead_source
String
The lead's source.
[optional]
title
String
The lead's title.
[optional]
company
String
The lead's company.
[optional]
first_name
String
The lead's first name.
[optional]
last_name
String
The lead's last name.
[optional]
addresses
Array<AddressRequest>
[optional]
email_addresses
Array<EmailAddressRequest>
[optional]
phone_numbers
Array<PhoneNumberRequest>
[optional]
converted_date
Time
When the lead was converted.
[optional]
converted_contact
String
The contact of the converted lead.
[optional]
converted_account
String
The account of the converted lead.
[optional]
integration_params
Hash<String, AnyType>
[optional]
linked_account_params
Hash<String, AnyType>
[optional]
remote_fields
Array<RemoteFieldRequest>
[optional]
require 'merge_crm_client'
instance = MergeCRMClient ::LeadRequest . new (
owner : 0358 cbc6 -2040 -430 a -848 e -aafacbadf3aa ,
lead_source : API Blogger ,
title : Co -Founder ,
company : Merge API ,
first_name : Gil ,
last_name : Feig ,
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 " ; } ] ,
email_addresses : [ { " ; email_address " ; :" ; hello @merge . dev " ; , " ; email_address_type " ; :" ; Work " ; } ] ,
phone_numbers : [ { " ; phone_number " ; :" ; +16789932455 " ; , " ; phone_number_type " ; :" ; Mobile " ; } ] ,
converted_date : 2022 -03 -10 T00 :00Z ,
converted_contact : null ,
converted_account : 9 c9de072 -29 cf -48e3 -9578 -1 ca5b145b40e ,
integration_params : { " ; unique_integration_field " ; :" ; unique_integration_field_value " ; } ,
linked_account_params : { " ; unique_linked_account_field " ; :" ; unique_linked_account_field_value " ; } ,
remote_fields : null
)