Get location

Get location for shipping, inventory, and order fulfillment by id

🔒

Requires read_shop_navigation access scope. More access scope

Retrieve detailed information about a specific location by its ID.

This API is especially useful for:

  1. Viewing detailed information about a specific warehouse or store location
  2. Verifying location details for order fulfillment
  3. Syncing location data with external systems

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
location_idstringYesUnique identifier of the location"loc_123"

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring"success"Status code of the response
messagestringDescriptive message of the response
data.location.idstring"loc_123"Unique location identifier
data.location.activebooleantrueWhether the location is active
data.location.defaultbooleanfalseWhether this is the default location
data.location.countrystring"United States"Full country name
data.location.country_codestring"US"ISO country code
data.location.provincestring"California"State/province name
data.location.province_codestring"CA"State/province code
data.location.citystring"San Francisco"City name
data.location.areastring"Downtown"District/area name
data.location.addressstring"123 Main St"Full address string
data.location.address1string"Suite 100"Additional address line
data.location.namestring"Main Warehouse"Location name
data.location.phonestring"+14155551234"Contact phone number
data.location.zipstring"94105"Postal/ZIP code
data.location.companystring"Acme Inc"Associated company name
data.location.latitudestring"37.7749"GPS latitude
data.location.longitudestring"-122.4194"GPS longitude
data.location.created_atstring"2023-01-01T00:00:00Z"Creation timestamp (ISO 8601)
data.location.updated_atstring"2023-06-01T12:34:56Z"Last update timestamp (ISO 8601)

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!