---
schema_version: "1"
id: 765efdadf8ab104e8b139fde4d79fead1127fef19c45dca818a0847b20d47de5
title: ServiceTerritory
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/workdotcom_dev/guides/wkfsl-sforce-api-objects-serviceterritory.md
canonical_url: https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-serviceterritory.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 0d809fd9590ad82ad7a300b235d5c9f1c130b1a011c19aa7200fb17ff7be26dd
products:
  - Work.com Developer Guide
  - Service Cloud Developer Content
---

# ServiceTerritory

Represents the locations and spaces associated with your workplace. Work.com adds new custom fields to the standard ServiceTerritory object. This object is available in API version 38.0 and later.

For standard fields on the ServiceTerritory object, see [Object Reference - ServiceTerritory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_serviceterritory.htm).

## Supported Calls

`create()`, `delete()`, `describeLayout()`, `describeSObjects()`, `getDeleted()`, `getUpdated()`, `query()`, `retrieve()`, `search()`, `undelete()`, `update()`, `upsert()`

## Custom Fields

<sfdocstbl><table><col /><col /><col /><col /><thead><tr><th>Field</th><th>Type</th><th>Properties</th><th>Description</th></tr></thead><tbody><tr><td>wkfsl\_\_Facility_Type\_\_c</td><td>picklist</td><td>Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update</td><td><p>The type of facility, which is derived from the <a href="https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wdc-cc-sforce-api-objects-location.md">Location</a> record. Users see this value in the Work.com Command Center.</p><p>Possible values are:</p><ul><li><p><code>Building</code></p></li><li><p><code>Campus</code></p></li><li><p><code>Floor</code></p></li><li><p><code>Plant</code></p></li><li><p><code>Site</code></p></li><li><p><code>Space</code></p></li><li><p><code>Store</code></p></li><li><p><code>Virtual</code></p></li><li><p><code>Warehouse</code></p></li></ul><p>The default value is <code>Building</code>. This field is available in API version 48.0 and later.</p><p>This field is standard, but the picklist values are custom for Work.com. Users see these values in the Work.com Command Center.</p></td></tr><tr><td>wkfsl\_\_Location\_\_c</td><td>reference</td><td>Create, Filter, Group, Nillable, Sort, Update</td><td>Location of the service territory. This field is available in API version 48.0 and later.</td></tr><tr><td>wkfsl\_\_Maximum_Occupancy\_\_c</td><td>double</td><td>Create, Filter, Nillable, Sort, Update</td><td>Maximum occupancy for the service territory. This field must be populated for each territory. This field is available in API version 48.0 and later.</td></tr><tr><td>wkfsl\_\_Select_for_Facility_Plan\_\_c</td><td>boolean</td><td>Create, Filter, Group, Sort, Update</td><td>Sets whether the service territory available for facility plans. This field's initial value is set from the location type during setup. The default value is <code>false</code>. This field is available in API version 48.0 and later, and in package version 1.73 and later.</td></tr></tbody></table></sfdocstbl>
