Update an opportunity
Update an existing opportunity. To move stages, set pipeline_stage_id. The stage must belong to the opportunity pipeline; PATCH does not accept pipeline_id. There is no cross-pipeline move endpoint; create a new opportunity in the target pipeline.
Authorizations
OAuth 2.0 Bearer Token from Clerk authentication
Headers
Unique key to ensure idempotent request handling. If a request with the same key was already processed, the original response will be returned.
Path Parameters
The opportunity ID
Body
Name of the opportunity
"Updated opportunity"
The monetary value of the opportunity in whole dollars, not cents
750000
The probability of closing (0-100)
80
Expected close date
The pipeline stage ID. Must belong to the opportunity pipeline.
The assigned user ID from the relevant book users list. Prefer this over owner_id.
Alias for assigned_to_id
Legacy household ID for household-backed opportunities. Set to null to clear the relationship.
Related record type for the opportunity. Must be provided with opportunityable_id.
Household, Contact, Business Related record ID for the opportunity. Must be provided with opportunityable_type. Set opportunityable_type and opportunityable_id to null to clear the relationship.
Custom field values as key-value pairs
Response
opportunity updated
The opportunity ID
"abc123xyz"
The name of the opportunity
"New Investment Opportunity"
The book ID
"book123xyz"
The user assigned to this opportunity. Set this with assigned_to_id on create or update.
The monetary value of the opportunity in dollars
5000
The probability of closing (0-100)
75
Expected close date
When the opportunity last moved stages. Useful for stage aging and pipeline reporting.
The household ID (null for unassociated opportunities)
"household123xyz"
The related record type for this opportunity
Household, Contact, Business The related record ID for this opportunity
Compact related record payload for the opportunity
Custom field values as key-value pairs
When the opportunity was created
When the opportunity was last updated