Skip to main content
POST
Move an opportunity to another stage

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Required for every non-open scope. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
opportunity
string
required

CRM opportunity ID

stage
string
required

Pipeline stage key or ID

lostReason
string

Lost reason when moving to lost

Response

Success — body conforms to the @Returns schema.

changedCount
number
required
status
string
required
{key}
any