apiDeterministic
Update pipeline stages
PUT /api/pipeline-stages
Update CRM stage order, colors and visibility.
Parameters
workspaceId
string
No description.
stagesrequired
object[]
No description.
Example
REST requestbash
curl -X PUT "https://app.pipeline.help/api/pipeline-stages" \-H "Authorization: Bearer $PIPELINE_API_KEY" \-H "Content-Type: application/json" \-d '{"stages":[{"id":"00000000-0000-4000-8000-000000000000","stage_order":0,"color":"#22d3ee"}]}'
Response
Success response schemajson schema
{"type": "object","properties": {"stages": {"type": "array","items": {"type": "object","properties": {"id": {"type": "string"},"workspaceId": {"type": "string"},"stageName": {"type": "string"},"stageOrder": {"type": "number"},"color": {"type": "string"},"isActive": {"type": "boolean"},"isDefault": {"type": "boolean"}},"required": ["id","workspaceId","stageName","stageOrder","color","isActive","isDefault"]}}},"required": ["stages"]}
HTTP errors
- 401
- Missing or invalid API key.
- 403
- Authenticated but not permitted for the workspace or resource.
- 404
- The requested resource was not found.