Lead
Update Lead
Path Parameters
idstring
salutation?string
nameFirstName?string
nameLastName?string
emails?EmailDto
phones?PhoneDto
companyName?string
domainName?DomainDto
amount?AmountDto
annualRecurringRevenue?AnnualRecurringRevenueDto
industry?string
employees?number
employeeRange?string
Value in
"1-10" | "11-50" | "51-200" | "201-500" | "501-1000" | "1001-10000" | "10000+"address?AddressDto
city?string
state?string
country?string
closeDate?string
Format
date-timestageId?string
Format
uuidposition?number
createdBySource?string
Value in
"EMAIL" | "CALENDAR" | "WORKFLOW" | "API" | "IMPORT" | "MANUAL" | "SYSTEM"createdByWorkspaceMemberId?string
Format
uuidcreatedByName?string
searchVector?string
leadOwnerId?string
Format
uuidpointOfContactId?string
Format
uuidcompanyId?string
Format
uuidpersonId?string
Format
uuidleadSource?string
Response Body
curl -X PUT "http://crm-apiprod.b2bleadsmarket.com/lead/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"salutation": "string",
"avatarUrl": "string",
"name": {
"firstName": "string",
"lastName": "string"
},
"emails": {
"primaryEmail": "user@example.com",
"additionalEmails": [
{}
]
},
"phones": {
"primaryPhoneNumber": "string",
"primaryPhoneCountryCode": "string",
"primaryPhoneCallingCode": "string",
"additionalPhones": [
{}
]
},
"companyName": "string",
"domainName": {
"primaryLinkLabel": "string",
"primaryLinkUrl": "string",
"secondaryLinks": [
{}
]
},
"amount": {
"amountMicros": 0,
"currencyCode": "string"
},
"annualRecurringRevenue": {
"amountMicros": 0,
"currencyCode": "string"
},
"industry": "string",
"employees": 0,
"employeeRange": "1-10",
"address": {
"addressStreet1": "string",
"addressStreet2": "string",
"addressCity": "string",
"addressState": "string",
"addressCountry": "string",
"addressPostcode": "string",
"addressLat": 0,
"addressLng": 0
},
"city": "string",
"state": "string",
"country": "string",
"stageId": "string",
"stage": {
"id": "string",
"name": "string",
"description": "string",
"isActive": true,
"isCustom": true
},
"createdBy": {
"source": "string",
"workspaceMemberId": "19b2e9e0-2ca5-440b-89b8-7d3df62cd046",
"name": "string"
},
"leadOwnerId": "string",
"pointOfContactId": "string",
"companyId": "string",
"personId": "string",
"leadOwner": {
"id": "string",
"firstName": "string",
"lastName": "string",
"userEmail": "string",
"avatarUrl": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"leadSource": "string"
}