VUZDevelopers

Reorder pipeline stages

POST
/crm/pipelines/{id}/stages/reorder
X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Path Parameters

id*string

Pipeline UUID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/crm/pipelines/string/stages/reorder" \  -H "Content-Type: application/json" \  -d '{    "stageIds": [      "uuid-1",      "uuid-2",      "uuid-3"    ]  }'
[  {    "id": "string",    "name": "string",    "nameHe": "string",    "color": "string",    "sortOrder": 0,    "winProbability": 0,    "isClosed": true,    "isWonStage": true,    "isLostStage": true,    "rottingDays": 0,    "stageKind": "string"  }]