Skip to main content
PUT

Update a funnel

Scope:crm:funnels.write
https://api.holded.com/api/v2/funnels/{funnelId}

Updates an existing funnel.

Parameters

Path parameters

funnelIdstringrequired

Funnel ID

Request body

object
namestring

Funnel name

stages[]object[]

Funnel stages

idstring

Existing stage ID to update

namestring

Stage name

descriptionstring

Stage description

deal_probabilityinteger

Deal probability percentage

rotting_daysinteger

Days before a deal is considered rotting

Request

python
import requests

url = "https://api.holded.com/api/v2/funnels/{funnelId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

payload = {
    "name": "string",
    "stages": [
        {
            "id": "507f1f77bcf86cd799439011",
            "name": "string",
            "description": "string",
            "deal_probability": 0,
            "rotting_days": 0
        }
    ]
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())

Responses

Response

json
{
  "id": "string"
}

Success responses

200Funnel updatedapplication/json
object
idstring

Error responses

400Bad requestapplication/json
401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Funnel not foundapplication/json
422Validation errorapplication/json
429Rate limit exceededapplication/json