Update Pipeline
Updates an existing pipeline. Send only the fields to change; omit stages to leave the stages as they are.
Stages. When sent, stages replaces the whole list: send an existing stage with its id to keep it, leave id out to add a new stage, and leave a stage out of the array to remove it. An existing stage sent without its id counts as removed and is replaced by a new stage with a new id. At least one existing stage must remain; otherwise the request fails with PIPELINE_CANNOT_DELETE_ALL_STAGES. A stage id that matches no existing stage is treated as a new stage.
Stages are written only through the pipeline's stages array; there are no stage-level endpoints.
Removed stages. Opportunities in removed stages move to the stage with the lowest position, and workflow triggers on removed stages are removed.
Names. Pipeline names must be unique within the location and stage names unique within the pipeline (both case-insensitive; stage names are trimmed).
Win probability. A stageWinProbability (0–100) is saved only when every stage in the request has one; if any stage leaves it out, all values are dropped and forecasting uses automatic probabilities based on stage position. useOpportunityProbability lets an opportunity's own forecastProbability take precedence over its stage's.
Colors. Stage color is a #RRGGBB hex code; colorRenderMode (dot, bg-tint or none) sets how stage colors are shown.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
pipelines. writeOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version. Send v3.
v3v3Path Parameters
The unique identifier of the pipeline
aWdODOBVOlH1RUFKWQkeBody
Name of the pipeline
pipelineThe full list of stages after the update; it replaces the current list. Keep a stage by sending its id, add one by leaving id out, and remove one by leaving it out of the array. Each stage needs a name and a unique position. Omit stages to leave the stages unchanged.
[
{
"id": "38704eb0-6b4f-4c3e-8919-4835d51de0c8",
"name": "Contacted",
"position": 1
},
{
"id": "a9f0c112-3b4d-4e2f-91ab-cd34ef567890",
"name": "Qualified",
"position": 2
},
{
"name": "Proposal Sent",
"position": 3
}
]
Whether the pipeline is shown in the funnel view
falseWhether the pipeline is shown in the pie chart view
trueWhen true, forecasting uses an opportunity's own forecastProbability when it has one, and its stage's win probability otherwise. When false or unset, the stage probability is always used.
trueHow stage colors are shown: dot shows a colored dot next to each stage, bg-tint tints the stage background and none shows no color, whatever the stage color values are.
dotbg-tintnonedotResponse
Successful response
Unique identifier of the pipeline
aWdODOBVOlH1RUFKWQkeName of the pipeline
new pipelineStages belonging to this pipeline
[]Whether the pipeline is shown in the funnel view
falseWhether the pipeline is shown in the pie chart view
trueIdentifier of the location (sub-account) this pipeline belongs to
VeMHYX28Satp2p7XVKbbWhen true, forecasting uses an opportunity's own forecastProbability when it has one, and its stage's win probability otherwise. When false or unset, the stage probability is always used.
trueHow stage colors are shown: dot shows a colored dot next to each stage, bg-tint tints the stage background and none shows no color, whatever the stage color values are.
dotbg-tintnonedotFractional-index key used to sort pipelines. Updated when the user reorders pipelines (via drag-and-drop or the reorder modal).
a0V