Leads
Update a lead
Update a specific lead.
patch/leads/{id}
Request
- Base URLhttps://api.surense.com/api/v1
- URLhttps://api.surense.com/api/v1/leads/{id}
- AuthOAuth 2Client credentialsToken URL: https://api.surense.com/oauth/token scopes: leads:update
Path parameters
idstring uuid required
Lead ID
Request body
Example request
{
"typeId": "123e4567-e89b-12d3-a456-426614174000",
"statusId": "123e4567-e89b-12d3-a456-426614174000",
"agencyId": "123e4567-e89b-12d3-a456-426614174000",
"ownerId": "123e4567-e89b-12d3-a456-426614174000",
"assigneeId": "123e4567-e89b-12d3-a456-426614174000",
"sourceId": "123e4567-e89b-12d3-a456-426614174000",
"leadDate": "2024-01-15T10:00:00Z",
"dueAt": "2024-01-15T10:00:00Z",
"dueAtTimeSet": true,
"notes": "Important lead information",
"priority": 3,
"firstName": "John",
"lastName": "Doe",
"idType": 1,
"idNumber": "123456789",
"idCardIssueDate": "2020-01-15",
"cellNumber": "050-1234567",
"phoneNumber": "03-1234567",
"phoneNumber1": "03-1234567",
"phoneNumber2": "03-7654321",
"email": "john.doe@example.com",
"street": "Main Street",
"streetNumber": "123",
"apartmentNumber": "5A",
"postalBox": 1234,
"city": "Tel Aviv",
"postalCode": 12345,
"country": "Israel",
"gender": 2,
"birthDate": "1990-01-15",
"age": 34,
"maritalStatus": 2,
"childCount": 2,
"monthlyIncome": 15000,
"employerName": "ABC Company",
"closedReason": "Not interested",
"meetingDate": "2024-01-15",
"meetingTime": "14:30",
"meetingLocation": "Office",
"meetingCoordinatorId": "123e4567-e89b-12d3-a456-426614174000"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.