Update a lead interest Run in API Explorer
Ask AI
Body
-
Name of the lead interest. Must be unique within the firm.
Maximum length is
255. -
Optional description of the lead interest.
-
New position within the firm's list. Other lead interests shift to keep positions contiguous.
Minimum value is
1. -
Archive or unarchive the lead interest. Archived lead interests are hidden from the default list.
PUT
/api/v1/lead-interests/{uuid}
curl \
--request PUT 'https://api.plannrcrm.com/api/v1/lead-interests/6ff8f7f6-1eb3-3525-be4a-3932c805afed' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"name": "Wealth",
"description": "Investment and wealth management enquiries",
"position": 1,
"archived": false
}'
Request examples
{
"name": "Wealth",
"description": "Investment and wealth management enquiries",
"position": 1,
"archived": false
}
Response examples (200)
[
{
"uuid": "e7c08701-2326-4e27-9d47-16d5cb0b8b49",
"name": "Wealth",
"description": "Investment and wealth management enquiries",
"position": 1,
"archived": false,
"created_at": "2026-10-12T11:34:44+01:00",
"updated_at": "2026-10-12T11:34:44+01:00"
}
]
Response examples (422)
Name already in use
{
"message": "The name has already been taken.",
"errors": {
"name": [
"The name has already been taken."
]
}
}
{
"message": "The name must not be greater than 255 characters.",
"errors": {
"name": [
"The name must not be greater than 255 characters."
]
}
}
{
"message": "The position must be at least 1.",
"errors": {
"position": [
"The position must be at least 1."
]
}
}
{
"message": "The archived field must be true or false.",
"errors": {
"archived": [
"The archived field must be true or false."
]
}
}