Save a pipeline and its stages
save_a_pipelineSave a pipeline as its editor does: its name, whether it is the default, and its whole stage list in order — each stage with its id to keep (renamed or moved), without an id to add, and a stage left out is removed. Each stage is open, won or lost. An open stage carries meaning, what the column means in the company's words: a new open stage is refused without it, and a stage kept keeps its own when meaning is left out. Won and lost carry none. A stage that still holds an open deal is not removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| stages | Yes | ||
| is_default | No | ||
| pipeline_id | Yes | The pipeline's id (from list_pipelines) |