cURL
curl --request GET \ --url https://console.lomaplatform.com/api/org/v1/locations \ --header 'API-Key: <api-key>'
[ { "id": "OBG47x1f4pGq", "external_id": "LOC_1", "name": "Test Location 1", "address_line_1": "123 Smith Road", "address_line_2": null, "address_city": "Atlanta", "address_state": "Georgia", "address_zip": "12345", "date_opened": "2023-11-28", "created_at": "2023-11-28 16:10:38.65394+00", "updated_at": "2024-05-29 16:02:08.543+00" }, { "id": "uPY8HK8As3Kg", "external_id": null, "name": "Test Location 2", "address_line_1": "456 Apple Road", "address_line_2": "", "address_city": "Chicago", "address_state": "IL", "address_zip": "12345", "date_opened": null, "created_at": "2023-11-28 16:10:38.65394+00", "updated_at": "2024-05-29 16:02:08.543+00" } ]
Lists locations for an organization
API Key for the organization
x >= 1
1 <= x <= 1000
name
created_at
updated_at
asc
desc
200 OK
The response is of type object[].
object[]