propertly.io
DokumentacjaAPILista zmian

Get branch details by ID

GET
/api/v1/branches/{branch_id}

Retrieves details about a specific branch by its unique identifier

Authorization

APIKeyHeader
headerAuthorization<token>

Path Parameters

branch_id*Branch Id
Formatuuid

Response Body

Successful response with branch details

application/json
  1. response

DTO for branch details

branch_id*Branch Id

Unique identifier for the branch

Formatuuid
webpage_id*Webpage Id

Associated webpage identifier

Formatuuid
organization_id*Organization Id

Organization this branch belongs to

Formatuuid
name*Name

Branch name

description?|

Detailed description / About

address?|

Legal address

cover_image_url?|

URL to cover image

logo_url?|

URL to branch logo

email?|

Contact email address

phone_number?|

Contact phone number

open_time?|

Opening hours by day

location?|

Full address data including coordinates

curl -X GET 'https://headless-cms.propertly.io/api/v1/branches/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "branch_id": "c33b31ae-747a-4366-ae86-5f399e2daa5e",  "webpage_id": "a2f6c08c-8dd7-4b11-a2e7-4c3182d28aac",  "organization_id": "a8098c1a-f86e-11da-bd1a-00112444be1e",  "name": "Propertly Warszawa",  "description": "Oddział w Warszawie oferujący pełen zakres usług nieruchomościowych.",  "address": "ul. Warszawska 1, 00-001 Warszawa",  "cover_image_url": "https://cdn.propertly.io/app/branches/c33b31ae-747a-4366-ae86-5f399e2daa5e/cover.jpg",  "logo_url": "https://cdn.propertly.io/app/branches/c33b31ae-747a-4366-ae86-5f399e2daa5e/logo.png",  "email": "warszawa@propertly.pl",  "phone_number": "+48 123 456 789",  "open_time": {    "monday": [      {        "from_time": "09:00",        "to_time": "17:00"      }    ],    "tuesday": [      {        "from_time": "09:00",        "to_time": "17:00"      }    ],    "wednesday": [      {        "from_time": "09:00",        "to_time": "17:00"      }    ],    "thursday": [      {        "from_time": "09:00",        "to_time": "17:00"      }    ],    "friday": [      {        "from_time": "09:00",        "to_time": "17:00"      }    ],    "saturday": [],    "sunday": []  },  "location": {    "address_city": "Warszawa",    "address_community": "Warszawa",    "address_country": "Polony",    "address_county": "Warszawa",    "address_district": "Warszawa",    "address_subdistrict": "Warszawa",    "address_state": "Warszawa",    "address_street": "Warszawa",    "address_street_number": "Warszawa",    "address_flat_number": "Warszawa",    "address_zip_code": "Warszawa",    "community_type": "Warszawa",    "location_latitude": 52.2297,    "location_longitude": 21.0122,    "location_approximation": 0  }}

Ostatnia aktualizacja