ChatofyDevelopers
REST APIMCP Server (AI)New
API KeysWebhooks
Chatofy API
/
Getting Started
API Resources
API v1.0 Live
Developer APICRM Pipelines & DealsReorder Pipeline Stages

Reorder Pipeline Stages

Reorders the stages of a pipeline according to the provided stage IDs array.

PUT/api/v1/pipelines/{id}/stages

Body Parameters

1 parameter
{id}uuidrequired

Pipeline UUID

Request Body Schema

application/json
stage_idsarray<string>required

Ordered list of stage UUIDs

Response Payload

200 OKapplication/json
statusstring

"1" = Success, "0" = Failure.

messageobject

The response data payload.

Code Snippets & Examples

1curl -X PUT "https://app.chatofy.in/api/v1/pipelines/p1111111-2222-3333-4444-555555555555/stages" \
2 -H "Authorization: Bearer YOUR_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{"stage_ids":["s1111111","s2222222"]}'

Was this endpoint guide helpful?

Previous Endpoint
Create Pipeline Stage
Next Endpoint
Update Pipeline Stage
© 2026 Chatofy Cloud Platform. All rights reserved.
1curl -X PUT "https://app.chatofy.in/api/v1/pipelines/p1111111-2222-3333-4444-555555555555/stages" \
2 -H "Authorization: Bearer YOUR_API_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{"stage_ids":["s1111111","s2222222"]}'
200 OKapplication/json
1{
2 "success": true,
3 "data": {
4 "updated": 2
5 },
6 "message": "Pipeline stages reordered successfully"
7}