v1Resources/Social Listening/patchUpdate an opportunity

Update an opportunity

Sets an opportunity's status.

patch/api/v1/listening/opportunities/{id}
listening:write
Query parameters
idstringrequired
The opportunity's id.
Request body
clientIdstringrequired
The client (business) this concerns.
statusstring (new | saved | in_progress | done | dismissed)required
The opportunity's new status.
Response
dataobjectoptional
opportunityobjectoptional
The opportunity after the change.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
patch/api/v1/listening/opportunities/{id}
Your API key
id *
Request body*
{}

New to the Synup API?