Rateplan data model
View field support, webhooks, and list parameters for each integration on the Supported Integrations page.
| Field | Type | Required | Description |
|---|---|---|---|
id | string | No | unique identifier for the rate plan |
created_at | string (date-time) | No | when the rate plan was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
updated_at | string (date-time) | No | when the rate plan was last updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format) |
listing_id | string | No | pointer to the Property Listing this rate plan belongs to |
unittype_id | string | No | pointer to the Property Unittype (room type) this rate plan sells |
parent_id | string | No | pointer to the Property Rateplan this rate plan's price is derived from |
name | string | No | the rate plan name, eg. Non-refundable |
code | string | No | the rate plan code used by channels and booking engines |
description | string | No | free-text description of the rate plan |
is_active | boolean | No | whether the rate plan can be booked |
currency | string | No | ISO 4217 currency code |
start_price_amount | number | No | the lowest nightly price |
meal_plan | enum | No | the meals included in the rate Values: ROOM_ONLY, BREAKFAST, HALF_BOARD, FULL_BOARD, ALL_INCLUSIVE, OTHER |
cancellation_policy | string | No | the cancellation policy |
min_nights | number | No | minimum length of stay, in nights |
max_nights | number | No | maximum length of stay, in nights |
metadata | PropertyMetadata[] | No | custom field values |
metadata[].id | string | No | the custom field identifier |
metadata[].slug | string | No | the custom field key |
metadata[].value | object | No | the custom field value |
metadata[].namespace | string | No | the scope or origin of the custom field |
metadata[].format | enum | No | the data type of the value Values: TEXT, NUMBER, DATE, BOOLEAN, FILE, TEXTAREA, SINGLE_SELECT, MULTIPLE_SELECT, MEASUREMENT, PRICE, YES_NO, CURRENCY, URL |
metadata[].extra_data | object | No | additional data about the custom field |
Are we missing anything? Let us know
Was this page helpful?