| Param name | Description |
|---|---|
|
id
required |
Prospect ID to update Validations:
|
|
prospect
required |
Prospect attributes to update Validations:
|
|
prospect[name]
optional |
First name Validations:
|
|
prospect[lastname]
optional |
Last name Validations:
|
|
prospect[matriname]
optional |
Second last name Validations:
|
|
prospect[email]
optional |
Email address Validations:
|
|
prospect[phone_number]
optional |
Phone number Validations:
|
|
prospect[mobile_number]
optional |
Mobile number Validations:
|
|
prospect[gender]
optional |
Gender Validations:
|
|
prospect[dob]
optional |
Date of birth (YYYY-MM-DD) Validations:
|
|
prospect[contact_date]
optional |
Contact date (YYYY-MM-DD) Validations:
|
|
prospect[nationality]
optional |
Nationality key (e.g. mexican) Validations:
|
|
prospect[promoter_id]
optional |
Associated promoter UUID Validations:
|
|
prospect[commentary]
optional |
Additional notes Validations:
|
# Request body:
{
'prospect': {
'commentary': 'Updated via API'
}
}
# Response (200 OK): same structure as GET /prospects/:id
| Code | Description |
|---|---|
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 500 | Internal Server Error |