---
title: "List Locations"
method: GET
path: "/api/locations/{loc_id}"
---

# List Locations

`GET /api/locations/{loc_id}`

## Request

- Base URL: `https://api.liposta.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.liposta.com/api/locations/{loc_id}`
- Auth: none declared

يعرض كل المواقع مع current_capacity = مجموع quantities من inventory_locations لكل loc_id

## Path parameters

- `loc_id` string, required

## Response `200`

Successful Response

- LocationOut
  - `id` string, required
  - `loc_name` string, required
  - `max_capacity` integer, required
  - `current_capacity` integer, required
  - `type` string, required
  - `color` string
  - `description` string, nullable
  - `accepted_pages` string[], nullable
  - `accepted_categories` string[], nullable
  - `accepted_attrs` string[], nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/liposta/apis/liposta-api.md) - [All operations](https://skmtc.dev/liposta/apis/liposta-api/llms.txt) - [OpenAPI document](https://skmtc.dev/liposta/apis/liposta-api/revisions/583b8b6acecd?raw)
