Skip to content

Create or update property description

Request

Creates or updates the description of a property and the destination where it is. A property has one description: a new request replaces the existing text, whatever its language. Booking.com doesn't publish the text exactly as written, but may use it to update the property description on the Booking.com website and to answer guest questions. In some cases, Booking.com may not use the information. Updates can take at least 3 hours to take effect.

Security
BearerAuth
Path
propertyIdinteger, (int32)required

The unique ID of the property to create or update the description for.

Bodyapplication/json
textstringrequired

Contains the text for the property description. You can describe the property and the destination where it is. Accepts a maximum of 65,535 characters.

language_codestring, [ 2 .. 5 ] characters

Language code for the text. Length is from 2 to 5 characters, for example en or en-us.

curl -i -X PUT \
  'https://developers.booking.com/_mock/connectivity/docs/openapispecs/property-details-api/property-details-api-specification/properties/{propertyId}/description' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "text": "Some text",
    "language_code": "en"
  }'

Responses

Property description created or updated.

Bodyapplication/json
dataobject

Not returned by this operation. A successful response has empty warnings and errors arrays.

warningsArray of objects(ApiErrorOTA)

Contains any warnings about the request.

errorsArray of objects(ApiErrorOTA)

Contains any errors about the request.

metaobject(ResponseMeta)

Contains metadata about the response.

Response
{ "warnings": [], "errors": [], "meta": { "ruid": "00000000-0000-0000-0000-000000000000" } }