> 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).

# appmixer.xero.accounting.UpdatedContact

- Component: `appmixer.xero.accounting.UpdatedContact`
- Kind: Trigger
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.xero 2.3.0](https://connectors.appmixer.com/connector/appmixer.xero/2.3.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.xero/2.3.0/component/appmixer.xero.accounting.UpdatedContact>

Triggered when a contact is updated.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Tenant ID (`tenantId`) | text | - |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Contact ID (`ContactID`) | - | - |
| `ContactNumber` | - | - |
| `ContactStatus` | - | - |
| `Name` | - | - |
| `FirstName` | - | - |
| `LastName` | - | - |
| `EmailAddress` | - | - |
| `Addresses` | array | - |
| `Phones` | array | - |
| `UpdatedDateUTC` | - | - |
| `ContactGroups` | array | - |
| `IsSupplier` | - | - |
| `IsCustomer` | - | - |
| `Website` | - | - |
| `ContactPersons` | array | - |
| `HasAttachments` | - | - |
| `HasValidationErrors` | - | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.xero.accounting.UpdatedContact",
  "author": "Jiří Hofman <jirka@client.io>",
  "version": "1.0.0",
  "description": "Triggered when a contact is updated.",
  "private": false,
  "webhook": true,
  "auth": {
    "service": "appmixer:xero",
    "scope": [
      "accounting.contacts.read"
    ]
  },
  "quota": {
    "manager": "appmixer:xero:accounting",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "properties": {
    "name": "in",
    "schema": {
      "type": "object",
      "properties": {
        "tenantId": {
          "type": "string"
        }
      },
      "required": [
        "tenantId"
      ]
    },
    "inspector": {
      "inputs": {
        "tenantId": {
          "type": "text",
          "label": "Tenant ID",
          "index": 1,
          "source": {
            "url": "/component/appmixer/xero/accounting/ListTenants?outPort=tenants",
            "data": {
              "transform": "./transformers#tenantsToSelectArray"
            }
          }
        }
      }
    }
  },
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Contact ID",
          "value": "ContactID",
          "schema": {
            "example": "a7b8c9d0-e1f2-3456-abcd-678901234567"
          }
        },
        {
          "label": "ContactNumber",
          "value": "ContactNumber",
          "schema": {
            "example": "CONT-003"
          }
        },
        {
          "label": "ContactStatus",
          "value": "ContactStatus",
          "schema": {
            "example": "ACTIVE"
          }
        },
        {
          "label": "Name",
          "value": "Name",
          "schema": {
            "example": "Updated Supplier Co"
          }
        },
        {
          "label": "FirstName",
          "value": "FirstName",
          "schema": {
            "example": "Robert"
          }
        },
        {
          "label": "LastName",
          "value": "LastName",
          "schema": {
            "example": "Jones"
          }
        },
        {
          "label": "EmailAddress",
          "value": "EmailAddress",
          "schema": {
            "example": "robert@supplier.com"
          }
        },
        {
          "label": "Addresses",
          "value": "Addresses",
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "AddressType": {
                  "type": "string",
                  "title": "AddressType"
                },
                "AddressLine1": {
                  "type": "string",
                  "title": "AddressLine1"
                },
                "City": {
                  "type": "string",
                  "title": "City"
                },
                "PostalCode": {
                  "type": "string",
                  "title": "PostalCode"
                },
                "AttentionTo": {
                  "type": "string",
                  "title": "AttentionTo"
                }
              }
            },
            "example": [
              {
                "AddressType": "STREET",
                "AddressLine1": "12 Bridge Street",
                "City": "Wellington",
                "PostalCode": "6011",
                "AttentionTo": "Accounts Payable"
              }
            ]
          }
        },
        {
          "label": "Phones",
          "value": "Phones",
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "PhoneType": {
                  "type": "string",
                  "title": "PhoneType"
                },
                "PhoneNumber": {
                  "type": "string",
                  "title": "PhoneNumber"
                },
                "PhoneAreaCode": {
                  "type": "string",
                  "title": "PhoneAreaCode"
                },
                "PhoneCountryCode": {
                  "type": "string",
                  "title": "PhoneCountryCode"
                }
              }
            },
            "example": [
              {
                "PhoneType": "DEFAULT",
                "PhoneNumber": "555 0143",
                "PhoneAreaCode": "04",
                "PhoneCountryCode": "64"
              }
            ]
          }
        },
        {
          "label": "UpdatedDateUTC",
          "value": "UpdatedDateUTC",
          "schema": {
            "example": "2026-01-15T16:00:00Z"
          }
        },
        {
          "label": "ContactGroups",
          "value": "ContactGroups",
          "schema": {
            "type": "array",
            "example": [
              {
                "ContactGroupID": "b7d1f0c4-4c2e-4a9b-9f1d-6c8a2e5b7d31",
                "Name": "Preferred suppliers",
                "Status": "ACTIVE"
              }
            ]
          }
        },
        {
          "label": "IsSupplier",
          "value": "IsSupplier",
          "schema": {
            "example": true
          }
        },
        {
          "label": "IsCustomer",
          "value": "IsCustomer",
          "schema": {
            "example": false
          }
        },
        {
          "label": "Website",
          "value": "Website",
          "schema": {
            "example": "https://www.acmedesign.example.com"
          }
        },
        {
          "label": "ContactPersons",
          "value": "ContactPersons",
          "schema": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "FirstName": {
                  "type": "string",
                  "title": "FirstName"
                },
                "LastName": {
                  "type": "string",
                  "title": "LastName"
                },
                "EmailAddress": {
                  "type": "string",
                  "title": "EmailAddress"
                },
                "IncludeInEmails": {
                  "type": "boolean",
                  "title": "IncludeInEmails"
                }
              }
            },
            "example": [
              {
                "FirstName": "Jane",
                "LastName": "Nguyen",
                "EmailAddress": "jane.nguyen@example.com",
                "IncludeInEmails": true
              }
            ]
          }
        },
        {
          "label": "HasAttachments",
          "value": "HasAttachments",
          "schema": {
            "example": false
          }
        },
        {
          "label": "HasValidationErrors",
          "value": "HasValidationErrors",
          "schema": {
            "example": false
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
