Menu
Update Contact
Updates a specific contact in a Xero organisation
POST
/Contacts/{ContactID}Use it in a workflow
- Add a step and choose the Xero connector.
- Pick the Update Contact action (under Xero).
- Fill in the fields below, then reference the result from later steps as
{{updateContact.response.data}}.
Request
Path parameters
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"pagination": {
"page": 0,
"pageSize": 0,
"pageCount": 0,
"itemCount": 0
},
"Warnings": [
{
"Message": "string"
}
],
"Contacts": [
{
"ContactID": "00000000-0000-0000-0000-000000000000",
"MergedToContactID": "00000000-0000-0000-0000-000000000000",
"ContactNumber": "string",
"AccountNumber": "string",
"ContactStatus": "ACTIVE",
"Name": "string",
"FirstName": "string",
"LastName": "string",
"CompanyNumber": "string",
"EmailAddress": "string",
"ContactPersons": [
{
"FirstName": "string",
"LastName": "string",
"EmailAddress": "string",
"IncludeInEmails": false
}
],
"BankAccountDetails": "string"
}
]
}
Response
Returns 200 with an object. Read it in later steps with {{updateContact.response.data.<field>}}.
{
"pagination": {
"page": 0,
"pageSize": 0,
"pageCount": 0,
"itemCount": 0
},
"Warnings": [
{
"Message": "string"
}
],
"Contacts": [
{
"ContactID": "00000000-0000-0000-0000-000000000000",
"MergedToContactID": "00000000-0000-0000-0000-000000000000",
"ContactNumber": "string",
"AccountNumber": "string",
"ContactStatus": "ACTIVE",
"Name": "string",
"FirstName": "string",
"LastName": "string",
"CompanyNumber": "string",
"EmailAddress": "string",
"ContactPersons": [
{
"FirstName": "string",
"LastName": "string",
"EmailAddress": "string",
"IncludeInEmails": false
}
],
"BankAccountDetails": "string"
}
]
}
Need more? See the Xero guide for connection setup and behaviour shared by every action.
Was this page helpful?