Updates the selected opportunity to the stage with the ID specified in the request.
Name | Description | Type | Example |
opportunityid
sent in url
|
Opportunity ID | number | 1234 |
stageid
sent in body
|
New opportunity stage ID | number | 1234 |
PUT api/2.0/crm/opportunity/1234/stage/{id} Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "stageid": 1234 }
Opportunity with the updated stage
application/json
{ "status": 0, "response": { "id": 1234 } }
text/xml
<result> <status>0</status> <response> <id>1234</id> </response> </result>