Property Status API

Check property status

Changed on

Checks whether a property can be opened, opens it (Open / bookable) or closes it with a reason. For CHECK, the errors and warnings arrays list what to fix before you open the property. Test properties can't be opened or closed: the response has HTTP status 200, no data object and error 150.

post/properties/{propertyId}/status

Request

Path parameters

propertyIdinteger required

The unique ID of the property to check, open or close.

Request body

operation'CHECK' | 'OPEN' | 'CLOSE' required

Specifies the operation to perform on the property: check whether it can be opened (CHECK), open it (OPEN) or close it (CLOSE).

Response

The operation was processed. For CHECK, the errors and warnings arrays list what to fix before opening the property.

Changes

    • breaking

      added to the request property allOf list

    • breaking

      the request property type changed from object to no type

    • warning

      removed the request property /

    • warning

      removed the request property /

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status