cliDeterministic
Update pipeline stages
pipeline update-pipeline-stages
Update CRM stage order, colors and visibility.
Parameters
workspaceId
string
No description.
stagesrequired
object[]
No description.
Example
CLI commandbash
pipeline update-pipeline-stages \--stages-json '[{"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"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.