Update a lead stage
Scope: crm:deals.write https://api.alladdin.com/api/v2/leads/{leadId}/stage
Updates the stage of an existing lead.
Parameters
Path parameters
leadId string required
Lead ID
Request body
object stage_id string required
New stage ID
Request
import requests
url = "https://api.alladdin.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
{
"id": "string"
}Success responses
200 Stage updated application/json object id string
Error responses
400 Bad request application/json 401 Invalid or missing API key application/json 403 Insufficient permissions application/json 404 Lead not found application/json 429 Rate limit exceeded application/json
