locations_update
Update location details in ServiceTitan, including address, custom fields, and tax zones, to ensure accurate and consistent data for customer management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | No | ||
id | Yes | Format - int64. | |
tenant | Yes | Format - int64. Tenant ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"active": {
"type": "boolean"
},
"address": {
"additionalProperties": false,
"properties": {
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"state": {
"type": "string"
},
"street": {
"type": "string"
},
"unit": {
"type": "string"
},
"zip": {
"type": "string"
}
},
"type": "object"
},
"createdById": {
"type": "integer"
},
"createdOn": {
"type": "string"
},
"customFields": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"typeId": {
"type": "integer"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"customerId": {
"type": "integer"
},
"externalData": {
"items": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"id": {
"type": "integer"
},
"mergedToId": {
"type": "integer"
},
"modifiedOn": {
"type": "string"
},
"name": {
"type": "string"
},
"tagTypeIds": {
"items": {
"type": "integer"
},
"type": "array"
},
"taxZoneId": {
"type": "integer"
},
"zoneId": {
"type": "integer"
}
},
"type": "object"
},
"id": {
"description": "Format - int64.",
"type": "integer"
},
"tenant": {
"description": "Format - int64. Tenant ID",
"type": "integer"
}
},
"required": [
"id",
"tenant"
],
"type": "object"
}