Skip to main content
PUT
/
crm-pipelines
/
v1
/
pipelines
/
{object_type}
/
{pipeline_id}
Update an existing pipeline
curl --request PUT \
  --url https://api.hubapi.com/crm-pipelines/v1/pipelines/{object_type}/{pipeline_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "<string>",
  "displayOrder": 123,
  "active": true,
  "stages": [
    {
      "stageId": "<string>",
      "createdAt": 123,
      "updatedAt": 123,
      "label": "<string>",
      "displayOrder": 123,
      "active": true,
      "metadata": {
        "probability": 0.5
      }
    }
  ]
}'
{
  "pipelineId": "<string>",
  "createdAt": 123,
  "updatedAt": 123,
  "objectType": "DEAL",
  "label": "<string>",
  "displayOrder": 123,
  "active": true,
  "default": true,
  "stages": [
    {
      "stageId": "<string>",
      "createdAt": 123,
      "updatedAt": 123,
      "label": "<string>",
      "displayOrder": 123,
      "active": true,
      "metadata": {
        "probability": 0.5
      }
    }
  ]
}

Path Parameters

object_type
enum<string>
required

The object type of the pipeline that you want to update. Must be one of: deals, tickets

Available options:
deals,
tickets
pipeline_id
string
required

The ID of the pipeline you want to update.

Body

application/json
label
string

The label for the pipeline. The label will be displayed when viewing records in HubSpot.

Maximum length: 36
displayOrder
integer

When viewing records in HubSpot, pipelines are displayed starting with the pipeline with the lowest displayOrder value.

active
boolean

Whether or not the pipeline is active.

stages
object[]

A list of stages for this pipeline. Pipelines may have up to 100 stages.

Maximum length: 100

Response

200 - application/json

Successfully updated pipeline

pipelineId
string
createdAt
integer
updatedAt
integer | null
objectType
enum<string>
Available options:
DEAL,
TICKET
label
string
displayOrder
integer
active
boolean
default
boolean
stages
object[]