Update an opportunity

Updates the specified opportunity by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

patch

Update an opportunity

Authorizations
AuthorizationstringRequired

Bearer {apikey}

Path parameters
agentIdstringRequired

The ID of the agent.

opportunityIdstringRequired

The ID of the opportunity.

Body
namestring · min: 1Optional

The name of the opportunity.

pipelineIdstringOptional

The ID of the opportunity pipeline.

stageIdstringOptional

The ID of the pipeline stage.

ownerIdstring | nullableOptional

The ID of the user that own the opportunity.

scoreinteger | nullableOptional

The score indicating the likelihood of closing the opportunity.

amountnumber | nullableOptional

The monetary value of the opportunity, if applicable.

tagsstring[]Optional

The tags associated with the opportunity.

Responses
200

Successful Response

application/json
patch
/v1/agents/{agentId}/opportunities/{opportunityId}

Last updated