PUT
Update a lead stage
Scope:
crm:deals.writehttps://api.holded.com/api/v2/leads/{leadId}/stageUpdates the stage of an existing lead.
Parameters
Path parameters
leadId
stringrequiredLead ID
Request body
object
stage_idstringrequired
New stage ID
Request
python
import requests
url = "https://api.holded.com/api/v2/leads/{leadId}/stage"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
payload = {
"stage_id": "string"
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())Responses
Response
json
{
"id": "string"
}Success responses
200Stage updatedapplication/jsonobject
idstring
Error responses
400Bad requestapplication/json401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Lead not foundapplication/json429Rate limit exceededapplication/json