leads
Update Lead
Update an existing lead.
Args: lead_id: Lead UUID lead_data: Updated lead data supabase: Supabase client
Returns: API response with updated lead data
put/api/leads/{lead_id}
Path parameters
lead_idstring uuid required
Request body
Example request
{
"address_city": "New York",
"address_state": "NY",
"address_street": "123 Main St",
"address_zip": "10001",
"company_name": "Acme Corp",
"contact_name": "John Doe",
"contact_number": "+1-555-123-4567",
"contact_role": "Operations Manager",
"email": "john@example.com",
"stage": "Lead"
}Response
Successful Response
Example response
{
"data": {},
"message": "Operation completed successfully",
"success": true
}Changes
No recorded changes to this endpoint across all 1 revision of this API.