Note: The Deals Pipelines API is deprecated. Please use the CRM Pipelines API to manage deal pipelines.
This endpoint will overwrite an existing deal pipeline.
The request must specify dealstages for the pipeline. The dealstages included in the request will overwrite the existing dealstages for the pipeline, including deleting previously existing dealstages that are not included in the updated pipeline request.
If you're removing a dealstage from a pipeline, we strongly recommend moving existing deals into a different dealstage first.