---
schema_version: "1"
id: 1d893ca71c5bfddb022b4f7b71c4f4225ced5118afa39a7d1178d65a1e4682a2
title: ConnectApi.LocationInputRepresentation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_location.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_location.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9dfbbc76f34c422057b2c612820836a06c487680051b3441b7d167397346239f
description: Inventory location data used to calculate shipping distance.
---
# ConnectApi.LocationInputRepresentation

Inventory location data used to calculate shipping distance.

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| countryCode | String | The country code of the location. | Required | 51.0 |
| locationIdentifier | String | The identifier of the location. | Required | 51.0 |
| postalCode | String | The postal code of the location. | Required | 51.0 |