> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Update Opportunity

- Component: `appmixer.gohighlevel.core.UpdateOpportunity`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.gohighlevel 1.2.0](https://connectors.appmixer.com/connector/appmixer.gohighlevel/1.2.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.gohighlevel/1.2.0/component/appmixer.gohighlevel.core.UpdateOpportunity>

Update an existing opportunity in GoHighLevel.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Opportunity ID (`opportunityId`) | text | The unique ID of the opportunity to update. |
| Opportunity Name (`name`) | text | Updated name/title of the opportunity. |
| Pipeline Stage ID (`pipelineStageId`) | text | Updated pipeline stage ID for the opportunity. |
| Status (`status`) | select | Updated status of the opportunity. |
| Monetary Value (`monetaryValue`) | number | Updated monetary value of the opportunity. |
| Assigned To (User ID) (`assignedTo`) | text | Updated user ID to assign the opportunity to. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Opportunity ID (`id`) | string | - |
| Name (`name`) | string | - |
| Status (`status`) | string | - |
| Pipeline ID (`pipelineId`) | string | - |
| Pipeline Stage ID (`pipelineStageId`) | string | - |
| Monetary Value (`monetaryValue`) | number | - |
| Assigned To (`assignedTo`) | string | - |
| Date Updated (`updatedAt`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.gohighlevel.core.UpdateOpportunity",
  "label": "Update Opportunity",
  "description": "Update an existing opportunity in GoHighLevel.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:gohighlevel"
  },
  "quota": {
    "manager": "appmixer:gohighlevel",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "opportunityId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "pipelineStageId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "monetaryValue": {
            "type": "number"
          },
          "assignedTo": {
            "type": "string"
          }
        },
        "required": [
          "opportunityId"
        ]
      },
      "inspector": {
        "inputs": {
          "opportunityId": {
            "type": "text",
            "label": "Opportunity ID",
            "index": 1,
            "tooltip": "The unique ID of the opportunity to update."
          },
          "name": {
            "type": "text",
            "label": "Opportunity Name",
            "index": 2,
            "tooltip": "Updated name/title of the opportunity."
          },
          "pipelineStageId": {
            "type": "text",
            "label": "Pipeline Stage ID",
            "index": 3,
            "tooltip": "Updated pipeline stage ID for the opportunity."
          },
          "status": {
            "type": "select",
            "label": "Status",
            "index": 4,
            "tooltip": "Updated status of the opportunity.",
            "options": [
              {
                "label": "Open",
                "value": "open"
              },
              {
                "label": "Won",
                "value": "won"
              },
              {
                "label": "Lost",
                "value": "lost"
              },
              {
                "label": "Abandoned",
                "value": "abandoned"
              }
            ]
          },
          "monetaryValue": {
            "type": "number",
            "label": "Monetary Value",
            "index": 5,
            "tooltip": "Updated monetary value of the opportunity."
          },
          "assignedTo": {
            "type": "text",
            "label": "Assigned To (User ID)",
            "index": 6,
            "tooltip": "Updated user ID to assign the opportunity to."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Opportunity ID",
          "value": "id",
          "schema": {
            "type": "string",
            "example": "yWQobCRIhRguQtD2llvk"
          }
        },
        {
          "label": "Name",
          "value": "name",
          "schema": {
            "type": "string",
            "example": "Acme Inc - website redesign"
          }
        },
        {
          "label": "Status",
          "value": "status",
          "schema": {
            "type": "string",
            "example": "open"
          }
        },
        {
          "label": "Pipeline ID",
          "value": "pipelineId",
          "schema": {
            "type": "string",
            "example": "VDm7RPYC2GLUvdpKmBfC"
          }
        },
        {
          "label": "Pipeline Stage ID",
          "value": "pipelineStageId",
          "schema": {
            "type": "string",
            "example": "e93ba61a-53b3-45e7-985a-c7732dbcdb69"
          }
        },
        {
          "label": "Monetary Value",
          "value": "monetaryValue",
          "schema": {
            "type": "number",
            "example": 4500
          }
        },
        {
          "label": "Assigned To",
          "value": "assignedTo",
          "schema": {
            "type": "string",
            "example": "zT46WSCPbudrq4zhWMk6"
          }
        },
        {
          "label": "Date Updated",
          "value": "updatedAt",
          "schema": {
            "type": "string",
            "example": "2026-09-10T09:15:00.000Z"
          }
        }
      ],
      "example": {
        "id": "opp123abc456",
        "name": "Updated Business Opportunity",
        "status": "open",
        "pipelineId": "pipe123abc",
        "pipelineStageId": "stage-uuid-1234",
        "monetaryValue": 7500,
        "assignedTo": "user123abc",
        "updatedAt": "2026-01-15T12:00:00.000Z"
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
