Skip to content

Update Lead Cluster

PUT
/api/v1/dealerships/{dealership_slug}/lead_clusters/{id}
dealership_slug
required
string

Dealership slug

id
required
string

Lead Cluster ID

object
user_id

ID of the assigned user

integer
nullable
lead_state

State of the lead cluster eg. “new”, “contacted”, “lost”, “invalid”, “converted”

string
nullable
secondary_user_id

ID of the secondary assigned user

integer
nullable
approved

Approval status of the lead cluster

boolean
location_id

ID of the associated location

integer
nullable
lead_status_option_id

ID of the lead status option

integer
nullable
tags

Array of tags associated with the lead cluster

Array<string>
car_ids

Array of car IDs associated with the lead cluster

Array<integer>
car_lead_clusters_attributes
Array<object>
object
id
integer
car_id
required
integer
family_id
required
integer
manufacturer_id
required
integer
year
integer
badge
string
colour
string
_destroy
boolean
Example
{
"lead_cluster": {
"user_id": 1,
"lead_state": "new",
"secondary_user_id": 2,
"location_id": 1,
"tags": [
"High Quality Lead"
]
}
}

When user_id param is blank, assigned user should not be updated

Access denied