Update Pipeline
PUT/opportunities/pipelines/:pipelineId
Updates an existing pipeline. The stages array is a full replacement — include the id field on existing stages to retain them, or omit it to create a new stage. You cannot remove all stages at once. Any opportunities in removed stages are automatically migrated to the lowest-position remaining stage. Pipeline and stage names must remain unique (case-insensitive) within the location. Documentation Link - https://doc.clickup.com/8631005/d/h/87cpx-709536/75a21483123abd7
Request
API Version
2021-04-15The unique identifier of the pipeline
- application/json
- Body
- Example (auto)
Bodyrequired
Name of the pipeline
List of stages belonging to this pipeline
Whether the pipeline is shown in the funnel view
Whether the pipeline is shown in the pie chart view
Whether stage-level win probability is enabled for this pipeline
How pipeline/stage colors are rendered
dotbg-tintnone{
"name": "pipeline",
"stages": [
{
"name": "stage 1",
"position": 1,
"showInFunnel": true
}
],
"showInFunnel": false,
"showInPieChart": true,
"useOpportunityProbability": true,
"colorRenderMode": "dot"
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
Unique identifier of the pipeline
Name of the pipeline
Stages belonging to this pipeline
Whether the pipeline is shown in the funnel view
Whether the pipeline is shown in the pie chart view
Identifier of the location (sub-account) this pipeline belongs to
Whether stage-level win probability is enabled for this pipeline
How pipeline/stage colors are rendered
dotbg-tintnoneFractional-index key used to sort pipelines. Updated when the user reorders pipelines (via drag-and-drop or the reorder modal).
{
"id": "aWdODOBVOlH1RUFKWQke",
"name": "new pipeline",
"stages": [],
"showInFunnel": false,
"showInPieChart": true,
"locationId": "VeMHYX28Satp2p7XVKbb",
"useOpportunityProbability": true,
"colorRenderMode": "dot",
"position": "a0V"
}