---
schema_version: "1"
id: b1d8213a0395b92a538e798a9d255a2c89dc3aa74afb20ab46acf18d0d302bb5
title: Address
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_address.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_address.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d98c88466d197c3912ce3e10dcb0bf34796dc68fb151d76138e3bf1622eaa98a
description: Represents a mailing, billing, or home address.
---
# Address

Represents a mailing, billing, or home address.

## Supported Calls

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

## Special Access Rules

The following access checks must be enabled:

- Industries Insurance
- Retail Execution
- Industries Visit
- Field Service
- Order Management
    - Perms: FulfillmentOrder, OrderSummary,AdvancedOrderManagement, OrderCCS
    - Prefs: OrdersEnabled, EnhancedCommerceOrders
- Public Sector
- Employee Experience
- Contact Tracing For Employees

You can create an address only when creating a location.

## Fields

| Field Name | Details |
| --- | --- |
| Address | 
Type

address

Properties

Filter, Nillable

Description

The full address.



 |
| AddressType | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Sort, Update

Description

Picklist of address types. The values are:

- Mailing
- Shipping
- Billing
- Home





 |
| City | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The address city.



 |
| Country | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The address country.



 |
| Description | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

A brief description of the address.



 |
| DrivingDirections | 

Type

string

Properties

Create, Filter, Nillable, Sort, Update

Description

Directions to the address.



 |
| GeocodeAccuracy | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The level of accuracy of a location’s geographical coordinates compared with its physical address. A geocoding service typically provides this value based on the address’s latitude and longitude coordinates.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The most recent date on which a user referenced this record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The most recent date on which a user viewed this record.



 |
| Latitude | 

Type

double

Properties

Create, Filter, Nillable, Sort, Update

Description

Used with Longitude to specify the precise geolocation of the address. Acceptable values are numbers between –90 and 90 with up to 15 decimal places.



 |
| LocationType | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Filter, Group, Sort, Update

Description

Picklist of location types. The available values are:

- Warehouse (default)
- Site
- Van
- Plant





 |
| Longitude | 

Type

double

Properties

Create, Filter, Nillable, Sort, Update

Description

Used with Latitude to specify the precise geolocation of the address. Acceptable values are numbers between –180 and 180 with up to 15 decimal places.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

Name of the address.



 |
| ParentId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

A lookup field to the parent location.

This is a relationship field.

Relationship Name

Parent

Relationship Type

Lookup

Refers To

Location



 |
| PostalCode | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The address postal code.



 |
| State | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The address state.



 |
| Street | 

Type

textarea

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The address street.



 |
| TimeZone | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

Picklist of available time zones.



 |

## Usage

![Important](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note_important.png)

#### Important

“Address” in Salesforce can also refer to the Address compound field found on many standard objects. When referencing the Address object in your Apex code, always use Schema.Address instead of Address to prevent confusion with the standard Address compound field. If referencing both the address object and the Address field in the same snippet, you can differentiate between the two by using System.Address for the field and Schema.Address for the object.

## Associated Object

This object has the following associated object. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[AddressHistory](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm) (API version 62.0)

History is available for tracked fields of the object.