Update an Opportunity
curl --request PATCH \
--url https://api.monaco.com/v1/opportunities/{opportunity_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "Acme Corp - Enterprise License",
"owner_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stage": "Negotiation",
"estimated_value": {
"currency_code": "USD",
"amount": 50000
},
"estimated_close_date": "2025-09-30",
"actual_close_date": "2025-10-15",
"notes": "Follow up after Q3 board meeting",
"tags": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'import requests
url = "https://api.monaco.com/v1/opportunities/{opportunity_id}"
payload = {
"name": "Acme Corp - Enterprise License",
"owner_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stage": "Negotiation",
"estimated_value": {
"currency_code": "USD",
"amount": 50000
},
"estimated_close_date": "2025-09-30",
"actual_close_date": "2025-10-15",
"notes": "Follow up after Q3 board meeting",
"tags": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"]
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Acme Corp - Enterprise License',
owner_user_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
stage: 'Negotiation',
estimated_value: {currency_code: 'USD', amount: 50000},
estimated_close_date: '2025-09-30',
actual_close_date: '2025-10-15',
notes: 'Follow up after Q3 board meeting',
tags: ['3c90c3cc-0d44-4b50-8888-8dd25736052a']
})
};
fetch('https://api.monaco.com/v1/opportunities/{opportunity_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.monaco.com/v1/opportunities/{opportunity_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Acme Corp - Enterprise License',
'owner_user_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'stage' => 'Negotiation',
'estimated_value' => [
'currency_code' => 'USD',
'amount' => 50000
],
'estimated_close_date' => '2025-09-30',
'actual_close_date' => '2025-10-15',
'notes' => 'Follow up after Q3 board meeting',
'tags' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.monaco.com/v1/opportunities/{opportunity_id}"
payload := strings.NewReader("{\n \"name\": \"Acme Corp - Enterprise License\",\n \"owner_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"Negotiation\",\n \"estimated_value\": {\n \"currency_code\": \"USD\",\n \"amount\": 50000\n },\n \"estimated_close_date\": \"2025-09-30\",\n \"actual_close_date\": \"2025-10-15\",\n \"notes\": \"Follow up after Q3 board meeting\",\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.monaco.com/v1/opportunities/{opportunity_id}")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Acme Corp - Enterprise License\",\n \"owner_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"Negotiation\",\n \"estimated_value\": {\n \"currency_code\": \"USD\",\n \"amount\": 50000\n },\n \"estimated_close_date\": \"2025-09-30\",\n \"actual_close_date\": \"2025-10-15\",\n \"notes\": \"Follow up after Q3 board meeting\",\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monaco.com/v1/opportunities/{opportunity_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Acme Corp - Enterprise License\",\n \"owner_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"Negotiation\",\n \"estimated_value\": {\n \"currency_code\": \"USD\",\n \"amount\": 50000\n },\n \"estimated_close_date\": \"2025-09-30\",\n \"actual_close_date\": \"2025-10-15\",\n \"notes\": \"Follow up after Q3 board meeting\",\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "opp_abc123",
"account_id": "acc_def456",
"name": "Acme Corp - Enterprise License",
"owner": {
"id": "usr_abc123",
"first_name": "Jane",
"last_name": "Smith"
},
"stage": "Closed Won",
"estimated_value": {
"currency_code": "USD",
"amount": 50000
},
"estimated_close_date": "2025-09-30",
"actual_close_date": "2025-10-15",
"summary": "Enterprise deal with strong champion. Procurement review in progress.",
"risks": [
"Budget constraints",
"Competing vendor evaluation"
],
"notes": "Follow up after Q3 board meeting",
"tags": [
"High Priority"
],
"last_activity_at": "2025-08-20T14:30:00Z",
"custom_field_550e8400-e29b-41d4-a716-446655440001": "outbound",
"updated_at": "2026-04-21T12:00:00Z",
"created_at": "2025-06-01T09:00:00Z"
},
"meta": {
"timestamp": "2026-04-21T12:00:00Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Opportunities
Update an Opportunity
Updates an existing opportunity by its opportunity_id. Any tags list provided replaces the existing tags on the opportunity.
PATCH
/
v1
/
opportunities
/
{opportunity_id}
Update an Opportunity
curl --request PATCH \
--url https://api.monaco.com/v1/opportunities/{opportunity_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "Acme Corp - Enterprise License",
"owner_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stage": "Negotiation",
"estimated_value": {
"currency_code": "USD",
"amount": 50000
},
"estimated_close_date": "2025-09-30",
"actual_close_date": "2025-10-15",
"notes": "Follow up after Q3 board meeting",
"tags": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'import requests
url = "https://api.monaco.com/v1/opportunities/{opportunity_id}"
payload = {
"name": "Acme Corp - Enterprise License",
"owner_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"stage": "Negotiation",
"estimated_value": {
"currency_code": "USD",
"amount": 50000
},
"estimated_close_date": "2025-09-30",
"actual_close_date": "2025-10-15",
"notes": "Follow up after Q3 board meeting",
"tags": ["3c90c3cc-0d44-4b50-8888-8dd25736052a"]
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Acme Corp - Enterprise License',
owner_user_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
stage: 'Negotiation',
estimated_value: {currency_code: 'USD', amount: 50000},
estimated_close_date: '2025-09-30',
actual_close_date: '2025-10-15',
notes: 'Follow up after Q3 board meeting',
tags: ['3c90c3cc-0d44-4b50-8888-8dd25736052a']
})
};
fetch('https://api.monaco.com/v1/opportunities/{opportunity_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.monaco.com/v1/opportunities/{opportunity_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Acme Corp - Enterprise License',
'owner_user_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'stage' => 'Negotiation',
'estimated_value' => [
'currency_code' => 'USD',
'amount' => 50000
],
'estimated_close_date' => '2025-09-30',
'actual_close_date' => '2025-10-15',
'notes' => 'Follow up after Q3 board meeting',
'tags' => [
'3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.monaco.com/v1/opportunities/{opportunity_id}"
payload := strings.NewReader("{\n \"name\": \"Acme Corp - Enterprise License\",\n \"owner_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"Negotiation\",\n \"estimated_value\": {\n \"currency_code\": \"USD\",\n \"amount\": 50000\n },\n \"estimated_close_date\": \"2025-09-30\",\n \"actual_close_date\": \"2025-10-15\",\n \"notes\": \"Follow up after Q3 board meeting\",\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.monaco.com/v1/opportunities/{opportunity_id}")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Acme Corp - Enterprise License\",\n \"owner_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"Negotiation\",\n \"estimated_value\": {\n \"currency_code\": \"USD\",\n \"amount\": 50000\n },\n \"estimated_close_date\": \"2025-09-30\",\n \"actual_close_date\": \"2025-10-15\",\n \"notes\": \"Follow up after Q3 board meeting\",\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monaco.com/v1/opportunities/{opportunity_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Acme Corp - Enterprise License\",\n \"owner_user_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"stage\": \"Negotiation\",\n \"estimated_value\": {\n \"currency_code\": \"USD\",\n \"amount\": 50000\n },\n \"estimated_close_date\": \"2025-09-30\",\n \"actual_close_date\": \"2025-10-15\",\n \"notes\": \"Follow up after Q3 board meeting\",\n \"tags\": [\n \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "opp_abc123",
"account_id": "acc_def456",
"name": "Acme Corp - Enterprise License",
"owner": {
"id": "usr_abc123",
"first_name": "Jane",
"last_name": "Smith"
},
"stage": "Closed Won",
"estimated_value": {
"currency_code": "USD",
"amount": 50000
},
"estimated_close_date": "2025-09-30",
"actual_close_date": "2025-10-15",
"summary": "Enterprise deal with strong champion. Procurement review in progress.",
"risks": [
"Budget constraints",
"Competing vendor evaluation"
],
"notes": "Follow up after Q3 board meeting",
"tags": [
"High Priority"
],
"last_activity_at": "2025-08-20T14:30:00Z",
"custom_field_550e8400-e29b-41d4-a716-446655440001": "outbound",
"updated_at": "2026-04-21T12:00:00Z",
"created_at": "2025-06-01T09:00:00Z"
},
"meta": {
"timestamp": "2026-04-21T12:00:00Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Path Parameters
Body
application/json
Request body for updating an opportunity via PATCH.
Name of the opportunity
Example:
"Acme Corp - Enterprise License"
User ID to assign as opportunity owner
Pipeline stage key for the opportunity
Example:
"Negotiation"
Estimated monetary value of the opportunity
Show child attributes
Show child attributes
Expected close date (YYYY-MM-DD)
Example:
"2025-09-30"
Actual date the opportunity was closed (YYYY-MM-DD)
Example:
"2025-10-15"
Notes about the opportunity
Example:
"Follow up after Q3 board meeting"
List of tag IDs to associate with the opportunity
⌘I