🏠 Creating a Property (Accommodation)
Octorate allows you to create and manage properties (also called accommodations) through the REST API. Each property acts as a container for rooms, rates, availability, and other connected resources (extras, reservations, etc.).
1️⃣ Endpoint Overview
POST
/rest/v1/accommodation
Create a new property (accommodation)
✅ Yes — Bearer Token or API Key
GET
/rest/v1/accommodation
Retrieve all properties associated with your account
✅ Yes
PATCH
/rest/v1/accommodation/{id}
Update an existing property
✅ Yes
(Endpoints confirmed in the Octorate Postman Collection — “Property: Accommodations” section.)
2️⃣ Authentication
You must authenticate your request with a valid Bearer Token or API Key, as described in the Authentication page.
Example header:
Authorization: Bearer <access_token>
Content-Type: application/json3️⃣ Create a New Property
To create a new property, send a POST request to:
POST https://api.octorate.com/connect/rest/v1/accommodationRequest Body
According to the official Postman documentation, the payload must contain the essential details describing your property:
💡 Note: Some fields such as
category,country, andtimeZonemust use codes supported by Octorate. You can retrieve valid values using the following meta endpoints:
/rest/v1/meta/regions→ for countries and regions
/rest/v1/meta/content?category=ACCOMMODATION_CATEGORY→ for accommodation categories
4️⃣ Successful Response
The response includes the new property’s ID, which you will use in future calls (for example, when creating rooms, rates, or reservations).
5️⃣ Update an Existing Property
To update property details, use the following endpoint:
Example Request
Only the fields you include will be updated; all others remain unchanged.
6️⃣ Retrieve All Properties
To list all properties connected to your account:
Example Response:
Common Errors
400
ApiParamsExemption
Missing or invalid parameter
401
ApiKeyInvalid
Invalid or expired access token
403
ApiSecurityException
You don’t have permission to access this resource
404
ApiResourceMissing
Property not found
500
InternalServerError
Unexpected error on Octorate’s side
Last updated