Skip to main content
PUT
Update opportunity

Authorizations

X-API-Key
string
header
required

Your Flozy API key. Starts with flz_live_.

Path Parameters

id
integer
required

Body

application/json
stage_id
integer
lead_id
integer
value
number
Required range: x >= 0
expected_close_date
string

Calendar date as YYYY-MM-DD. A full ISO 8601 date-time (2026-01-31T10:00:00Z) is also accepted and truncated to its date part — the timezone offset is ignored, so 2026-01-31T23:00:00-05:00 stores 2026-01-31. The column is a SQL DATE, so no time is ever kept. Any other value, including an impossible date such as 2026-02-30, is rejected with a validation error naming the field and the accepted formats. The column is NOT NULL, so there is no way to clear it.

confidence
integer
Required range: 0 <= x <= 100
note
string | null

Response

Opportunity updated.