**Version: 202601**

# Get location

**GET** `/openapi/2026-01/locations/:location_id`

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

## Request

**Path Parameters**

- `location_id` uint64 (required)

  Location ID

## Responses

**200**

OK

**application/json**

**Schema | Example**

**Schema**

- `code` string

  error code
- `message` string

  error message
- `data` object

  - `location` object

    Location

    - `id` uint64

      Location ID
    - `active` boolean

      Whether active
    - `default` boolean

      Default
    - `country` string

      Country name
    - `country_code` string

      Country code (e.g. CN)
    - `province` string

      Province or state
    - `province_code` string

      Province code
    - `city` string

      City
    - `area` string

      Area or region
    - `address` string

      Address
    - `address1` string

      Primary address line
    - `name` string

      Name
    - `phone` string

      Phone number
    - `zip` string

      Postal or ZIP code
    - `company` string

      Company name
    - `latitude` string

      Latitude coordinate
    - `longitude` string

      Longitude coordinate
    - `created_at` string

      Creation timestamp, in ISO-8601 format
    - `updated_at` string

      Last update timestamp, in ISO-8601 format

```json
{
  "code": "string",
  "message": "string",
  "data": {
    "location": {
      "id": 0,
      "active": true,
      "default": true,
      "country": "string",
      "country_code": "string",
      "province": "string",
      "province_code": "string",
      "city": "string",
      "area": "string",
      "address": "string",
      "address1": "string",
      "name": "string",
      "phone": "string",
      "zip": "string",
      "company": "string",
      "latitude": "string",
      "longitude": "string",
      "created_at": "string",
      "updated_at": "string"
    }
  }
}
```
