You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/reference/endpoints/seasons.md
+26-12Lines changed: 26 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,10 @@
3
3
1. TOC
4
4
{:toc}
5
5
6
+
## Overview
7
+
8
+
This resource represents Seasons which together with [Periods](/reference/endpoints/seasons/) define the time when the [Rates Rules](/reference/endpoints/rates_rules/) or [Rentals Fees](/reference/endpoints/rates_rules/) are applicable and provide a way to define seasonal pricing for the [Rentals](/reference/endpoints/rentals) (impacting price via `ratio_percentage` and minimum length of stay via `minimum_stay`).
color | String | Read | Season's color (hexadecimal) |
47
+
minimum_stay | Integer | Read/Write | Season's minimum stay in days. | **Required**, must be greater than: 0
48
+
name | [Object](/reference/enums#formats) | Read/Write | Season's name. | **Required** for Account's default locale, maximum length: 50, must not contain non-printing characters
49
+
ratio_percentage | [Decimal](/reference/enums#formats) | Read/Write | Season's ratio expressed in percentage. | **Required**, must be greater than: 0
position | Integer | Read | Source's position on the list.
20
-
internal | Boolean | Read | Source's internal status. When `true`, it is restricted for internal-only use (should not be used by the partner for anything else than read). Every attempt to associate any record with such a source will result in 422 error.
25
+
internal | Boolean | Read | Source's internal status. When `true`, it is restricted for internal-only use (should not be used by the Partners for anything else than read). Every attempt to associate any record with such a source will result in 422 error.
position | Integer | Read/Write | Source's position on the list.
33
-
internal | Boolean | Read | Source's internal status. When `true`, it is restricted for internal-only use (should not be used by the partner for anything else than read). Every attempt to associate any record with such a source will result in 422 error.
name | String | Read/Write | Source's name.| **Required**, maximum length: 50, must not contain non-printing characters
38
+
position | Integer | Read/Write | Source's position on the list. |
39
+
internal | Boolean | Read | Source's internal status. When `true`, it is restricted for internal-only use (should not be used by the Partners for anything else than read). Every attempt to associate any record with such a source will result in 422 error. |
Copy file name to clipboardExpand all lines: content/reference/endpoints/special_offers.md
+20-12Lines changed: 20 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,10 @@
3
3
1. TOC
4
4
{:toc}
5
5
6
+
## Overview
7
+
8
+
This resource represents Special Offers which are the Rental's price (as `initial_price` in [Booking](/reference/endpoints/Bookings/)) modifiers, making it possible to provide special discounts during certain periods.
discount | Float | Read/Write | **Required**. Special Offer's discount in percents. (between 1 and 100)
33
-
name | [Object](/reference/enums#formats) | Read/Write | **Required**. Special Offer's name, list of locales described in [enums section](/reference/enums#locales). (50 characters max)
discount | Float | Read/Write | **Required**. Special Offer's discount in percents. (between 1 and 100) | **Required**, must be between 1 (exclusive) and 100 (inclusive)
41
+
name | [Object](/reference/enums#formats) | Read/Write | Special Offer's name, list of locales described in [enums section](/reference/enums#locales). | **Required** for Account's default locale, minimum length: 3, maximum length: 50
start_date | [Date](/reference/enums#formats) | Read/Write | Special Offer's start date. | **Required**, must be before `end_date`, cannot be in the past
46
+
end_date | [Date](/reference/enums#formats) | Read/Write | Special Offer's end date. | **Required**, must be after `start_date`
Copy file name to clipboardExpand all lines: content/reference/endpoints/tax_rules.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,12 @@
3
3
1. TOC
4
4
{:toc}
5
5
6
+
## Overview
7
+
8
+
This resource represents Tax Rules which are applicable to [Rentals Taxes](/reference/endpoints/rentals_taxes/) or [Taxes](/reference/endpoints/taxes/).
9
+
10
+
This resource impacts the applicability of the parent resource. For example, if `comparator` is set to `>`, `value` is set to `10` and `compared_attribute` is `length_of_stay`, it means that the Tax will be applied only if the length of stay of the [Booking](/reference/endpoints/booking/) is great than 10 nights.
0 commit comments