Create a pipeline stage
Adds a stage to a pipeline. To append it at the end, set order to the current number of stages.
Endpoint
POST/pipeline-stages
Body
| Name | Type | Required | Description |
|---|---|---|---|
organization_id | integer | Yes | Organization of the pipeline. |
pipeline_id | integer | Yes | Pipeline to add the stage to. |
name | string | Yes | Stage name. |
order | number | Yes | Position, starting at 0. Other stages are not reordered automatically. |
rotting_days | number | No | Deal pipelines: rotting threshold in days. |
created_by_user_id is set to the API key's user.
Request
Response
json
Errors
| Status | When |
|---|---|
400 Bad Request | A required field is missing or a value is invalid. |
403 Forbidden | The API key's user has the member role in the organization. |
Report an issue with this documentation
Please log in to report issues with our documentation.