1. Opportunities
Commusoft developer
  • Introduction
    • Introduction
    • Key concepts and relationships
    • Authentication
    • Rate-limits
    • Requests and responses
    • Core concepts and patters
    • Support and technical support
  • CRM
    • Properties
      • List properties
      • Properties
      • Customers
      • Companies
      • Work addresses
      • Customers
      • Companies
      • Work addresses
      • Properties
    • Contacts
      • List property contacts
      • Property contacts
      • Property contacts
      • Property contacts
    • Scheduled activities
      • List scheduled activities
      • Scheduled activities
      • Scheduled activities
      • Scheduled activities
      • Complete Scheduled Activity
  • Sales
    • Opportunities
      • List opportunities
        GET
      • Opportunities
        GET
      • Opportunities
        POST
      • Opportunities
        PATCH
      • Opportunities
        DELETE
    • Actions
      • Change opportunity stage
  • Jobs
    • Jobs
      • List jobs
      • Jobs
      • Jobs
      • Jobs
      • Jobs
    • Actions
      • Put on hold
      • Mark as free of charge
      • Mark as aborted
      • Change job stage
      • Mark as complete
      • Remove on hold
  • Settings
    • List titles
      GET
    • List customer types
      GET
    • List advertising types
      GET
    • List telephone types
      GET
    • List business units
      GET
    • List user groups
      GET
    • List opportunity pipelines
      GET
    • List opportunity stages
      GET
    • List provinces
      GET
    • List job description templates
      GET
  • Webhooks
    • Webhooks
    • Example PHP script
    • Webhooks
    • Webhooks
  1. Opportunities

Opportunities

Designing
PATCH
/opportunities/{opportunityID}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Body Params application/jsonRequired

Examples

Responses

🟢204Success
Headers

This response does not have a body.
🟠400400 Bad request
🟠401401 Unauthorised
🟠403403 Forbidden
🟠404404 Not found
🟠409409 Conflict
🟠429429 Too many requests
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/opportunities/1311' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "notes": "eiusmod fugiat",
    "skills": [
        {
            "id": 557586010252389
        },
        {
            "id": 3048432940958864
        },
        {
            "id": 4061685790506290
        }
    ],
    "salesPersonID": 4864213426195809,
    "customerContactID": 333728695369777,
    "assets": [
        6200252046533815,
        8369878779862608,
        6823630565606753
    ],
    "customerReference": "ABC123",
    "userGroupID": 2613960934371443,
    "tags": [
        "qui",
        "tam"
    ],
    "siteContactID": 6400097158641730,
    "reportingLineID": 7222252121046895,
    "businessUnitID": 4853893269777955
}'
Response Response Example
400 - Example 1
{
    "error": {
        "code": "string",
        "message": "string",
        "details": {
            "field": "string",
            "code": "string",
            "message": "string"
        }
    }
}
Modified at 2026-06-18 12:00:51
Previous
Opportunities
Next
Opportunities
Built with