---
schema_version: "1"
id: 0b1bd66f01d83ce84a846545a612f716c3d978d8c6cb102357f856555da23de3
title: ServiceTerritoryLocation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_serviceterritorylocation.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_serviceterritorylocation.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: bebc2c377f243057a2b8864dff0cb64c2e1e095df2083c858b46c7acc17528e9
description: Represents a location associated with a particular service territory in field service.
---
# ServiceTerritoryLocation

Represents a location associated with a particular service territory in field service.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Special Access Rules

Field Service must be enabled.

## Fields

| Field Name | Details |
| --- | --- |
| LocationId | 
Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The location that is associated with the service territory.



 |
| ServiceTerritoryId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The associated service territory.



 |
| ServiceTerritoryLocationNumber | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, Sort

Description

(Read only) Auto-generated number identifying the service territory location.



 |

## Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

[ServiceTerritoryLocationChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 55.0)

Change events are available for the object.

[ServiceTerritoryLocationFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[ServiceTerritoryLocationHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.