sdkDeterministic
Update pipeline stages
pipeline.updatePipelineStages
Update CRM stage order, colors and visibility.
Parameters
workspaceId
string
No description.
stagesrequired
object[]
No description.
Example
TypeScripttypescript
await pipeline.updatePipelineStages({"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"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.