latestOpenAPI 3.1.02026-08-10390815.4 KB
e5f3dccae7ca
Accommodations
Constants
Use this endpoint to retrieve standardised codes and names for accommodation-specific types, including facilities, room types, bed types, themes, and charges. <br/>These constants can be used to filter searches or populate reference data across other accommodation endpoints. <br/>You can request multiple languages using IETF language tags (see common/languages). <br/> Call with an empty body to retrieve all constants. The codes returned are canonical identifiers used across the API.
post/accommodations/constants
Headers
X-Affiliate-Idinteger required
Include here your Affiliate identifier number
Request body
Example request
{
"languages": [
"en-us"
]
}Response
Successful response.