Update Contact
Xero
Xero
Update Contact
Update an existing contact in a Xero organisation by ContactID. Only include fields you want to change — omitted fields retain their existing values.
ActionAI Tool
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
xero_tenant_id | dropdown | Required | The Xero organisation (tenant) to target. Loaded dynamically from the connected account's authorised organisations. |
contact_id | text | Required | Xero ContactID of the contact to update (UUID format, e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9). |
name | text | Optional | Updated full name of contact or organisation (max 255 chars). |
first_name | text | Optional | Updated first name of the contact person. |
last_name | text | Optional | Updated last name of the contact person. |
email_address | text | Optional | Updated email address of the contact person. |
account_number | text | Optional | Updated user-defined account number (max 50 chars). |
company_number | text | Optional | Updated company registration number (max 50 chars). |
tax_number | text | Optional | Updated tax number (ABN, GST, VAT, or Tax ID depending on Xero region). |
contact_status | select | Optional | Set to ARCHIVED to archive this contact. (options: Active, Archived) |
default_currency | text | Optional | Updated ISO 4217 currency code (e.g. USD, NZD, GBP). |
Outputs
| Name | Type | Description |
|---|---|---|
statusCode | number | HTTP status code from the Xero API response. |
body | object | Structured Xero response envelope. The updated contact is typically at body.Contacts[0]. |
Id | text | Xero correlation/request identifier for this API call. |
Status | text | Xero operation status, typically OK. |
ProviderName | text | Name of the Xero app/provider handling the request. |
DateTimeUTC | text | UTC timestamp of the response. |
Contacts | array of object | Contacts returned by Xero for the requested organisation. |
ContactID | text | Unique Xero identifier for the contact. |
ContactStatus | text | Current status of the contact, such as ACTIVE or ARCHIVED. |
Name | text | Full name of the contact or organisation. |
ContactNumber | text | External contact number / contact code. |
AccountNumber | text | User-defined account number. |
FirstName | text | First name of the contact person. |
LastName | text | Last name of the contact person. |
EmailAddress | text | Email address of the contact person. |
BankAccountDetails | text | Bank account number/details for the contact. |
CompanyNumber | text | Company registration number. |
TaxNumber | text | Regional tax number for the contact. |
AccountsReceivableTaxType | text | Default tax type used on AR invoices. |
AccountsPayableTaxType | text | Default tax type used on AP invoices. |
DefaultCurrency | text | Default currency for the contact. |
UpdatedDateUTC | text | UTC timestamp of the contact's last update. |
IsSupplier | yes/no | Whether the contact is treated as a supplier. |
IsCustomer | yes/no | Whether the contact is treated as a customer. |
HasAttachments | yes/no | Whether the contact has attachments in Xero. |
HasValidationErrors | yes/no | Whether Xero reported validation issues for the contact. |
Addresses | array of object | Address records attached to the contact. |
AddressType | text | Address type such as STREET or POBOX. |
AddressLine1 | text | Address line 1. |
AddressLine2 | text | Address line 2. |
AddressLine3 | text | Address line 3. |
AddressLine4 | text | Address line 4. |
City | text | City. |
Region | text | Region / state / province. |
PostalCode | text | Postal or ZIP code. |
Country | text | Country. |
AttentionTo | text | Attention-to field for the address. |
Phones | array of object | Phone records attached to the contact. |
PhoneType | text | Phone type such as DEFAULT, DDI, FAX, or MOBILE. |
PhoneNumber | text | Phone number. |
PhoneAreaCode | text | Phone area code. |
PhoneCountryCode | text | Phone country code. |
ContactPersons | array of object | Additional contact people linked to the contact. |
FirstName | text | First name of the contact person. |
LastName | text | Last name of the contact person. |
EmailAddress | text | Email address of the contact person. |
IncludeInEmails | yes/no | Whether the contact person is included in emails. |
ContactGroups | array of object | Contact groups that include this contact. Each entry is a contact group object. |
SalesTrackingCategories | array of object | Sales tracking categories assigned to the contact. |
PurchasesTrackingCategories | array of object | Purchase tracking categories assigned to the contact. |