Skip to content

Property Status API

Check if a property is ready to open; open or close a property

Check property status

Request

Path
propertyIdinteger, (int32)required
Bodyapplication/jsonrequired
operationstringrequired
Enum:"CHECK""OPEN""CLOSE"
reasonobject(Reason)
curl -i -X POST \
  'https://developers.booking.com/_mock/connectivity/docs/openapispecs/property-details-api/property-details-api-specification/properties/{propertyId}/status' \
  -H 'Content-Type: application/json' \
  -d '{
    "operation": "CHECK",
    "reason": {
      "type": "OTHER",
      "description": "string"
    }
  }'

Responses

default response

Bodyapplication/json
dataobject(PropertyStatusOutput)
warningsArray of objects(ApiErrorOTA)
errorsArray of objects(ApiErrorOTA)
metaobject(ResponseMeta)
Response
{ "data": { "status": "string" }, "warnings": [ {} ], "errors": [ {} ], "meta": { "ruid": "string" } }