Skip to main content
Version: v3

Upsert Opportunity

POST 

/opportunities/upsert

Upsert Opportunity

Request

Version stringrequired

API Version

Available optionsv3
application/json

Bodyrequired

    idstring

    opportunityId

    pipelineIdstringrequired

    pipeline Id

    locationIdstringrequired

    locationId

    followersstring[]required

    contactId

    isRemoveAllFollowersbooleanrequired

    isRemoveAllFollowers

    followersActionTypestringrequired

    followers action type

    Available optionsaddremove
    namestring

    name

    statusstring

    Current status of the opportunity

    Available optionsopenwonlostabandonedall
    pipelineStageIdstring

    Identifier of the pipeline stage

    monetaryValueobject

    Monetary value of the opportunity

    forecastExpectedCloseDatestring

    Expected 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

    forecastProbabilitynumber

    Forecast probability

    assignedTostring

    Identifier of the user the opportunity is assigned to

    lostReasonIdstring

    lost reason Id

application/json

Successful response

Schema
    opportunityobjectrequired

    Updated / New Opportunity

    newbooleanrequired

    Indicates whether the opportunity was newly created (true) or updated (false)