Skip to main content
PATCH
Update an opportunity

Authorizations

x-api-key
string
header
required

API key for authentication. Get your API key from Settings → API Keys in your Spott dashboard.

Path Parameters

id
string
required

Body

application/json
companyId
string

The ID of the company this opportunity belongs to

Minimum string length: 1
name
string

The name of the opportunity

Minimum string length: 1
description
string | null

Detailed description of the opportunity

stageId
string

The pipeline stage ID

Minimum string length: 1
ownerId
string | null

The user ID of the opportunity owner. Set to null to remove the owner.

Minimum string length: 1
closeDate
object | null

The target close date. Set to null to clear the close date.

clientTeam
object[]

Client contacts to associate with this opportunity

locations
object[]

Physical locations for the opportunity (0 to 15). Omit to leave unchanged; send an empty array to clear all.

Maximum array length: 15

Response

Opportunity updated successfully