Skip to main content
PUT/stages/:id/

Update stage

You can update a specific stage.

Attributes

Optional unless marked required

idintegerrequired
A unique identifier for the stage which is given by User automatically.
descriptionstringrequired
A stage description.
namestringrequired
A stage name.
pipelineintegerrequired
A unique identifier for the pipeline which is given by User automatically.

Request​

curl -X PUT "https://<your_app_subdomain>.user.com/api/public/stages/:id/" \
-H "Authorization: Token <your_64_char_api_key>" \
-H "Accept: */*; version=2" \
-H "Content-Type: application/json" \
-d '{
"pipeline": 20,
"name": "Proposal accepted",
"description": "The partner accepted the proposal."
}'

Response examples​

{
"id": 36584,
"name": "Updated stage",
"description": "your description",
"pipeline": 6179,
"order": 0
}

Response fields​

Fields returned in the 200 OK response body.

idinteger
A unique identifier for the stage which is given by User automatically.
namestring
A stage name.
descriptionstring
A stage description.
pipelineinteger
A unique identifier for the pipeline which is given by User automatically.
orderinteger
Position of the stage in its pipeline, from 0. A stage created without order goes to the end.
note

Errors that can come from any endpoint (401, 429, 500, 502, 504) are described in HTTP response codes.

Response​