locations_update_contact
Updates contact information for a specific location in ServiceTitan. Input includes location ID, contact ID, tenant ID, and details like phone number, memo, and do-not-text flag.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contactId | Yes | Format - int64. Contact ID | |
doNotText | No | Do not text flag for the contact | |
id | Yes | Format - int64. Location ID | |
memo | No | Contact memo | |
phoneNumber | No | Phone number for the contact | |
tenant | Yes | Format - int64. Tenant ID | |
value | No | Contact value |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"contactId": {
"description": "Format - int64. Contact ID",
"type": "integer"
},
"doNotText": {
"description": "Do not text flag for the contact",
"type": "boolean"
},
"id": {
"description": "Format - int64. Location ID",
"type": "integer"
},
"memo": {
"description": "Contact memo",
"type": "string"
},
"phoneNumber": {
"description": "Phone number for the contact",
"type": "string"
},
"tenant": {
"description": "Format - int64. Tenant ID",
"type": "integer"
},
"value": {
"description": "Contact value",
"type": "string"
}
},
"required": [
"id",
"contactId",
"tenant"
],
"type": "object"
}