The Metadata Push and Metadata Audit APIs use these objects in multiple places.
Field | Datatype | Required | Description |
---|---|---|---|
name | String | Yes | The name of the roomtype. |
code | String | Yes | A code provided by Hotel Trader identifies this roomtype. This code is unique for each roomtype for a property. This code is used while sending availability and rate information to the client. |
shortDescription | String | Yes | A short description of this roomtype. |
longDescription | String | No | A long description of this roomtype. This field is sent to the client on an as-approved basis. |
maxAdultOccupancy | Integer | Yes | The maximum number of adults allowed in one room of this roomtype. |
minAdultOccupancy | Integer | Yes | The minimum number of adults allowed in the room. |
maxChildOccupancy | Integer | Yes | The maximum number of children allowed in the room. |
minChildOccupancy | Integer | Yes | The minimum number of children allowed in the room. |
totalMaxOccupancy | Integer | Yes | The total number of occupants allowed in the room. |
maxOccupancyForDefaultPrice | Integer | Yes | The minimum number of adults in the room, above which, additional pricing kicks in. |
bedtypes | Array | No | An array of bedtype objects. |
amenities | Array | No | An array of amenity objects. |
images | Array | No | An array of image objects. |