---
title: "List Locations"
method: GET
path: "/locations"
tags: ["Locations"]
---

# List Locations

`GET /locations`

Retrieve a list of locations. The list can be filtered, sorted, and paginated using the parameters below.

## Query parameters

- `external_id` string
- `limit` integer
- `sort_order` 'asc' | 'desc'
- `cursor` string

## Response `200`

Success

- object
  - `locations` LocationResponse[], required
    - `id` integer, required — The unique integer identifier for the location, created by Loop.
    - `external_id` string, nullable — The identifier used by an external source to identify the location.
    - `sales_channel` string, required — The name of the channel.
    - `name` string, required — The name of the location.
    - `status` 'active' | 'inactive', required — The status of the location.
    - `address` AddressResponseData, required
      - `name` string, nullable — The name of the address.
      - `company` string, nullable — The name of the company residing at the address.
      - `address1` string, nullable — Line 1 of the address.
      - `address2` string, nullable — Line 2 of the address.
      - `city` string, nullable — The city in which the address is located.
      - `region` string, nullable — The state or region in which the address is located.
      - `postal_code` string, nullable — The postal code associated with the address.
      - `country_code` string, nullable — The country code associated with the address.
  - `next_page_url` string, nullable
  - `previous_page_url` string, nullable

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/loopreturns/apis/listings-api.md) · [All operations](https://skmtc.dev/loopreturns/apis/listings-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loopreturns/listings-api/revisions/750e6012dbb8/schema)
