Update Opportunity
Update an opportunity. Unless the location allows duplicate opportunities (allowDuplicateOpportunity), a contact can have only one opportunity per pipeline. Opportunities without a contact are never treated as duplicates. Moving an opportunity to a pipeline where its contact already has an opportunity returns 400 with code: OPPORTUNITY_NO_DUPLICATE.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
opportunities. writeOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version. Send v3.
v3v3Path Parameters
Opportunity Id
yWQobCRIhRguQtD2llvkBody
pipeline Id
bCkKGpDsyPP4peuKowkGName of the opportunity, up to 150 characters. A longer name returns 422, unless it is the name already stored.
Possible values: <= 150 characters
First OppsIdentifier of the pipeline stage
7915dedc-8f18-44d5-8bc3-77c04e994a10Current status of the opportunity
openwonlostabandonedopenMonetary value of the opportunity. null leaves the stored value unchanged, and the response shows the stored value. An empty string is ignored the same way. Send 0 to clear the value.
Possible values: >= 0
220Expected close date. Supported formats: YYYY/MM/DD, MM/DD/YYYY, YYYY-MM-DD, MM-DD-YYYY, YYYY.MM.DD, MM.DD.YYYY, or ISO 8601
2026-04-23Forecast probability
20Identifier of the user the opportunity is assigned to
082goXVW3lIExEQPOnd3Lost reason id (24-character hex) from GET /opportunities/lost-reason. Used only when the opportunity's status is, or is set to, lost; any other status clears the stored lost reason, and null clears it too. A malformed id returns 400 LOST_REASON_NOT_FOUND; an id that is unknown, deleted or from another location is saved as null.
65f1c2a4e8b9d3f7a2c4e6b8Custom field values to update, each with fieldValue. Identify each field by id or by key (without the opportunity. prefix). Entries that match no opportunity custom field in the location are ignored, not rejected. field_value is the 2021-07-28 name and is ignored in v3.
[
{
"id": "6dvNaf7VhkQ9snc5vnjJ",
"fieldValue": "9039160788"
}
]
Response
Successful response
The created or retrieved opportunity object