> 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 Appointment

- Component: `appmixer.gohighlevel.core.UpdateAppointment`
- 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.UpdateAppointment>

Update an existing calendar appointment in GoHighLevel: change its status (e.g. confirm or cancel), title, address or assignee, or reschedule it. Only the fields you fill in are changed.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Appointment ID (`appointmentId`) | text | The ID of the appointment to update, e.g. the ID output of Create Appointment. |
| Title (`title`) | text | New title of the appointment. Leave empty to keep the current one. |
| Appointment Status (`appointmentStatus`) | select | New status of the appointment, e.g. Confirmed or Cancelled. Leave empty to keep the current one. |
| Start Time (`startTime`) | date-time | New start date and time (reschedule). Leave empty to keep the current one. |
| End Time (`endTime`) | date-time | New end date and time (reschedule). Leave empty to keep the current one. |
| Assigned User ID (`assignedUserId`) | text | The user ID to reassign the appointment to. Leave empty to keep the current one. |
| Address (`address`) | text | New location/address of the appointment. Leave empty to keep the current one. |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.gohighlevel.core.UpdateAppointment",
  "label": "Update Appointment",
  "description": "Update an existing calendar appointment in GoHighLevel: change its status (e.g. confirm or cancel), title, address or assignee, or reschedule it. Only the fields you fill in are changed.",
  "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": {
          "appointmentId": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "appointmentStatus": {
            "type": "string"
          },
          "startTime": {
            "type": "string",
            "format": "date-time"
          },
          "endTime": {
            "type": "string",
            "format": "date-time"
          },
          "assignedUserId": {
            "type": "string"
          },
          "address": {
            "type": "string"
          }
        },
        "required": [
          "appointmentId"
        ]
      },
      "inspector": {
        "inputs": {
          "appointmentId": {
            "type": "text",
            "label": "Appointment ID",
            "index": 1,
            "tooltip": "The ID of the appointment to update, e.g. the ID output of Create Appointment."
          },
          "title": {
            "type": "text",
            "label": "Title",
            "index": 2,
            "tooltip": "New title of the appointment. Leave empty to keep the current one."
          },
          "appointmentStatus": {
            "type": "select",
            "label": "Appointment Status",
            "index": 3,
            "tooltip": "New status of the appointment, e.g. Confirmed or Cancelled. Leave empty to keep the current one.",
            "options": [
              {
                "label": "New",
                "value": "new"
              },
              {
                "label": "Confirmed",
                "value": "confirmed"
              },
              {
                "label": "Cancelled",
                "value": "cancelled"
              },
              {
                "label": "Showed",
                "value": "showed"
              },
              {
                "label": "No Show",
                "value": "noshow"
              },
              {
                "label": "Invalid",
                "value": "invalid"
              }
            ]
          },
          "startTime": {
            "type": "date-time",
            "label": "Start Time",
            "index": 4,
            "tooltip": "New start date and time (reschedule). Leave empty to keep the current one."
          },
          "endTime": {
            "type": "date-time",
            "label": "End Time",
            "index": 5,
            "tooltip": "New end date and time (reschedule). Leave empty to keep the current one."
          },
          "assignedUserId": {
            "type": "text",
            "label": "Assigned User ID",
            "index": 6,
            "tooltip": "The user ID to reassign the appointment to. Leave empty to keep the current one."
          },
          "address": {
            "type": "text",
            "label": "Address",
            "index": 7,
            "tooltip": "New location/address of the appointment. Leave empty to keep the current one."
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out"
    }
  ],
  "icon": "(data URI omitted)"
}
```
