update-contact
Modify contact details in Xero, including name, address, email, and phone number, using the contactId for identification. Ensures accurate and efficient contact management.
Instructions
Update a contact in Xero.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | No | ||
contactId | Yes | ||
No | |||
firstName | No | ||
lastName | No | ||
name | Yes | ||
phone | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"address": {
"additionalProperties": false,
"properties": {
"addressLine1": {
"type": "string"
},
"addressLine2": {
"type": "string"
},
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"region": {
"type": "string"
}
},
"required": [
"addressLine1"
],
"type": "object"
},
"contactId": {
"type": "string"
},
"email": {
"format": "email",
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"name": {
"type": "string"
},
"phone": {
"type": "string"
}
},
"required": [
"contactId",
"name"
],
"type": "object"
}