CRM
contacts & custom fields api
Update Opportunity Status
cURL
curl --request PUT \ --url https://services.leadconnectorhq.com/opportunities/{id}/status \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Version: <version>' \ --data ' { "status": "open", "lostReasonId": "CLu7BaljjqrEjBGKTNNe" } '
{ "succeded": true }
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28
Opportunity Id
"yWQobCRIhRguQtD2llvk"
open
won
lost
abandoned
all
lost reason Id
"CLu7BaljjqrEjBGKTNNe"
Successful response
true
Was this page helpful?