Update Opportunity

View as Markdown

Partial update for an existing Opportunity (all fields sometimes).

Lost-reason rule (PRD §10.7): if the new opportunity_stage_id resolves to a stage where is_lost=true, the body MUST also carry opportunity_lost_reason_id.

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form.
namestringRequired

Optional: opportunity name - string max 255

expected_valuestringRequired

Optional: numeric >= 0

opportunity_stage_idstringRequired

Optional: new stage UUID

Response

Successful response