Leads

Update lead

PUT
Update a lead.

Path parameters

idstringRequired

Request

This endpoint expects an object.
lead_id
stringOptional
The Propexo unique identifier for the lead
unit_id
stringOptional
The Propexo unique identifier for the unit
lease_period_id
stringOptional
The Propexo unique identifier for the lease period
lead_source_id
stringOptional
The Propexo unique identifier for the lead source
first_name
stringOptional
The first name associated with the lead
last_name
stringOptional
The last name associated with the lead
middle_name
stringOptional
The middle name associated with the lead
phone_1
stringOptional
Primary phone number associated with the lead
phone_1_type
enumOptional
Type of the primary phone number
Allowed values: FAXHOMEMOBILEWORK
phone_2
stringOptional
Secondary phone number associated with the lead
phone_2_type
enumOptional
Type of the secondary phone number
Allowed values: FAXHOMEMOBILEWORK
email_1
stringOptional
The primary email address associated with the lead
address_1
stringOptional
The first address line associated with the lead
address_2
stringOptional
The second address line associated with the lead
city
stringOptional
The city associated with the lead
state
stringOptional
The state associated with the lead
zip
stringOptional
The zip code associated with the lead
target_move_in_date
unionOptional
The move-in date associated with the lead. The timestamp will be stripped off and only the date will be used
desired_num_bedrooms
doubleOptional
The desired number of bedrooms
desired_num_bathrooms
doubleOptional
The desired number of bathrooms
desired_max_rent_in_cents
integerOptional
The maximum rent cost the lead is looking to pay, in cents
desired_min_rent_in_cents
doubleOptional
The minimum rent cost the lead is looking to pay, in cents
number_of_occupants
doubleOptional
The number of occupants living in the unit
notes
stringOptional
Notes associated with the lead
events
list of objectsOptional
DEPRECATED: Please use /events endpoints to write events. Array of events associated with this lead
country
stringOptional
The country associated with the lead
status_raw
stringOptional
The raw status associated with the lead
desired_unit_type
stringOptional
The desired type of unit
employee_id
stringOptional
The Propexo unique identifier for the employee
date_of_birth
datetimeOptional
The date of birth associated with the lead
desired_lease_term_in_months
stringOptional
The amount of months for the lease term

Response

This endpoint returns an object
job_id
string
The ID of the job created to handle this operation
data
object
Returned data from the operation. This is dependent on the vendor specific endpoint's returned data.
PUT
1curl -X PUT https://api.propexo.com/v1/leads/id \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200Updated
1{
2 "job_id": "clwh5uics000608me9v74du0a",
3 "data": {}
4}