Skip to main content
GET
/
locations
[
  {
    "id": "<string>",
    "name": "<string>",
    "parentLocationId": "<string>"
  }
]

Query Parameters

page
number
default:1

Page number (1-based)

limit
number
default:10

Number of items per page

parentLocationId
string

The ID of the parent location

Response

200 - application/json

The locations have been successfully retrieved

id
string
required

The id of the location

name
string
required

The name of the location

parentLocationId
string | null

The id of the parent location