Xero - Upsert contact action

The Upsert contact action allows you to insert or update a contact in Xero through its contact ID.

Upsert contact actionXero - Upsert contact action

Input

Input fieldDescription
Contact IDEnter the unique identifier of the contact.
New contact nameSpecify the name for the new or updated contact.
Replace allIndicate whether to replace all existing contact details.
Contact numberProvide the unique number assigned to the contact.
Contact statusSet the status of the contact.
First nameEnter the first name of the contact.
Last nameEnter the last name of the contact.
Account numberEnter the account number associated with the contact.
Email addressEnter the email address of the contact.
Skype user nameEnter the Skype username of the contact.
Bank account numberEnter the bank account number related to the contact.
Tax numberEnter the tax identification number of the contact.
Accounts receivable tax typeEnter the default tax type for accounts receivable for the contact.
Accounts payable tax typeEnter the default tax type for accounts payable for the contact.
PO Box address line 1Enter the first line of the PO Box address.
PO Box address line 2Enter the second line of the PO Box address.
PO Box address line 3Enter the third line of the PO Box address.
PO Box cityEnter the city part of the PO Box address.
PO Box regionEnter the region or state part of the PO Box address.
PO Box postal codeEnter the postal code for the PO Box address.
PO Box countryEnter the country for the PO Box address.
PO Box attention toEnter the specific attention-to detail for the PO Box address.
Physical address line 1Enter the first line of the physical address.
Physical address line 2Enter the second line of the physical address.
Physical address line 3Enter the third line of the physical address.
Physical cityEnter the city part of the physical address.
Physical regionEnter the region or state part of the physical address.
Physical postal codeEnter the postal code for the physical address.
Physical countryEnter the country for the physical address.
Physical attention toEnter the specific attention-to detail for the physical address.
DEFAULT phone numberEnter the default phone number for the contact.
DEFAULT phone area codeEnter the area code for the default phone number.
DEFAULT phone country codeEnter the country code for the default phone number.
DDI phone numberEnter the DDI phone number for the contact.
DDI phone area codeEnter the area code for the DDI phone number.
DDI phone country codeEnter the country code for the DDI phone number.
MOBILE phone numberEnter the mobile phone number for the contact.
MOBILE phone area codeEnter the area code for the mobile phone number.
MOBILE phone country codeEnter the country code for the mobile phone number.
FAX phone numberEnter the fax phone number for the contact.
FAX phone area codeEnter the area code for the fax phone number.
FAX phone country codeEnter the country code for the fax phone number.
Default currencyEnter the default currency used for transactions with the contact.
Xero network keyEnter the Xero network key associated with the contact.
Sales default account codeEnter the default account code for sales transactions with the contact.
Purchases default account codeEnter the default account code for purchase transactions with the contact.
Contact personsInput a list of contact persons.
Contact persons source listList of source journal lines.
First name (contact persons)The first name of the contact person.
Last name (contact persons)The last name of the contact person.
Email address (contact persons)The email address of the contact person.
Include in emails (contact persons)Indicate whether to include this person in email correspondence.

Output

Output fieldDescription
Contact IDThe unique identifier of the contact.
Contact numberThe unique number assigned to the contact.
Contact statusThe status of the contact.
Account numberThe account number associated with the contact.
Contact nameThe full name of the contact.
First nameThe first name of the contact.
Last nameThe last name of the contact.
Email addressThe email address of the contact.
Skype user nameThe Skype username of the contact.
Is supplierIndicates if the contact is a supplier.
Is customerIndicates if the contact is a customer.
Updated dateThe date when the contact's information was last updated.
Bank account numberThe bank account number related to the contact.
Tax numberThe tax number associated with the contact.
Accounts receivable tax typeThe default tax type for the contact's accounts receivable.
Accounts payable tax typeThe default tax type for the contact's accounts payable.
Street addressDetails of the street address.
Postal addressDetails of the postal address.
Default phone detailsDetails of the default phone.
DDI phone detailsDetails of the DDI phone.
Mobile phone detailsDetails of the mobile phone.
Fax phone detailsDetails of the fax phone.
Batch paymentsDetails for the batch payments.
Contact personsDetails of the contact persons.
WebsiteThe website associated with the contact.
Default currencyThe default currency used for transactions with the contact.
BalancesDetails of the balances.
Xero network keyThe Xero network key associated with the contact.
Sales default account codeThe default account code for sales transactions with the contact.
Purchases default account codeThe default account code for purchase transactions with the contact.
Payment termsThe payment terms for the contact.

Last updated: