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

Response

200 - application/json

Successfully updated pipeline

The response is of type object.