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
}Update Opportunity Status
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"
Successful response
true
Was this page helpful?