DOCS

Update an opportunity

PATCH/opportunities/{opportunity_id}

Moves an opportunity along: in_progress when someone works on it, done, or dismissed to stop seeing it. Starting a wrong-fact fix sets a 14-day check, like in the app.

Changes data · Read & write keyAll plans

Path parameters

opportunity_idstringrequiredThe opportunity, opp_….

Request body (JSON)

statusenumrequiredThe new status.openin_progressdonedismissed

Response

The updated opportunity object (as in Retrieve an opportunity).

Errors

400invalid_requeststatus isn’t one of the four.
401unauthorizedMissing or revoked API key.
403read_only_keyThe key is read-only, or your role can’t make changes.
404not_foundNo opportunity with that id that this key can read.
429rate_limitedToo many requests; see Retry-After.