---
title: "Update Pipeline"
method: PUT
path: "/sales/pipelines/{id}"
tags: ["Sales::Pipeline"]
---

# Update Pipeline

`PUT /sales/pipelines/{id}`

Update Pipeline

## Path parameters

- `id` string, required

## Request body

- object
  - `sales_pipeline` SalesPipelineParametersUpdate — Pipelines
    - `name` string — Pipeline name
    - `stages_attributes` object[] — The stages of the pipeline. The stages are ordered by the position attribute.
      - `name` string — The name of the stage
      - `close_probability` integer — The probability of closing a deal in this stage

## Response `200`

OK

- SalesPipelineAttributes — Pipelines
  - `id` integer — Pipeline ID
  - `public_id` string, nullable — Pipeline public ID
  - `workspace_id` integer — Workspace ID
  - `name` string — Pipeline name
  - `created_at` string, date-time, nullable — Created at
  - `updated_at` string, date-time, nullable — Updated at
  - `total_value` integer, nullable — Total value of the opportunities
  - `stages` object[], nullable — Stages in the pipeline
    - `id` integer — Pipeline ID
    - `public_id` string, nullable — Pipeline public ID
    - `workspace_id` integer — Workspace ID
    - `pipeline_id` integer — Pipeline ID
    - `name` string — Pipeline name
    - `sort_order` integer, nullable — The position of the stage in the pipeline
    - `close_probability` number, nullable — Close probability of the opportunities in this stage
    - `opportunity_ids` unknown
    - `total_value` integer, nullable — Total value of the opportunities
    - `weighted_value` number, nullable — A calculation of the weighted value of all opportunities in this stage

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.net/myclickfunnels/apis/clickfunnels-api.md) · [All operations](https://skmtc.net/myclickfunnels/apis/clickfunnels-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myclickfunnels/clickfunnels-api/revisions/ae6313eaa176/schema)
