cURL
curl --request GET \ --url https://api.halth.com/v1/organisations/{organisationId}/locations
{ "items": [ { "id": "<string>", "name": "<string>", "createdAt": "2023-11-07T05:31:56Z", "timeZone": "<string>", "address": { "line1": "<string>", "line2": "<string>", "suburb": "<string>", "city": "<string>", "state": "<string>", "postcode": "<string>", "country": "<string>", "countryCode": "<string>" }, "suggestedTaxIdentifier": "<string>", "bookingCustomText": "<string>", "businessId": "<string>", "business": { "id": "<string>", "name": "<string>", "settings": { "autoReconciliationEnabled": true }, "taxIdentifier": "<string>", "countryCode": "<string>", "structure": "public_corporation", "merchantId": "<string>", "capabilities": [ { "id": "bookings_client_management", "status": "inactive" } ] } } ], "page": 1, "limit": 10, "totalItems": 100, "totalPages": 10 }
Get a paged list of locations for an organisation
Organisation ID
"org_31XEcUshz1ymodA14HALnyP48g1"
Page number
1 <= x <= 9007199254740991
1
Number of items per page
1 <= x <= 200
10
business
Show child attributes
100