Change or archive a nearby place
patch/lodging/pois/{id}
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Mcp
rivier_lodging_poi_update- Sdk
bookings.poi.update- Cli
bookings poi update
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- kindstringOne of: poi, transport.
- categorystringPattern: ^[a-z_]{2,40}$.
- namestringAt most 160 characters.
- latnumber or null
- lngnumber or null
- distanceMinteger or null
- travelModestring or null
- travelMinutesinteger or null
- contentobjectDefault: {}.
- positionintegerAt least 0. At most 10000.
- statusstringOne of: active, archived.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring