Get a canonical place profile
POST/content/hotels/v1/places/profiles
Returns the standard profile for one canonical place (places.id, the same value as
destination.canonicalCityId on POST /hotels/by-destination).
language is optional. When it is omitted, the profile is English (en).
Each language is stored separately. A requested language that has no usable text and
image does not fall back to English.
tone is optional. When it is omitted, the response is the stored source text.
When it is set, summary and description come from the stored rewrite for that tone
(youthful, conservative, or corporate). Keywords, license, attribution and images
stay those of the source profile. The response does not name the upstream source or the rewriter.
An unknown placeId is HTTP 404. A place that exists but has no usable
text and image in the requested language returns HTTP 200 with errors
and stores nothing.
A missing profile is fetched and stored during this request. The next request for the same place, language and tone is read from storage.
Request
Responses
- 200
- 400
- 404
Profile, or errors when that language cannot be built
Missing placeId, language is not two letters, or tone is not in the list
placeId is not a canonical place