Features
Pricing
Integrations
Contact
30 day trial
My account
Sign out
English
English
Français
Deutsch
Italiano
Español
Polski
Norsk
Holiday Apartment Demo
Site ID: 51045
Dashboard
Reservations
Latest reservations entered
Upcoming reservations
Pending reservations
Confirmed reservations
Reservations in progress
Past reservations
Checked in
Not completed
Cancelled by client
Cancelled by admin
Event log
Reservations modified by client
Conflicts
Price quotations
Locked reservations
Invoices
Reviews
Reservation search
Schedule
Availability
Customer list
Customers with reservations
Add user / View added users
Banned & pre-approved users
Import users
View coupons
Subscription
Quick Setup
Site settings
Company info
Active features
Online payments
Regional settings
Additional products
Reservation form layout
Email / SMS notifications
Pricing manager
Property vacations
Seasonal settings
Vouchers
Coupons
Customized translation
CSS style editor
Templates
Color labels & Color manager
Custom resource properties
Show all...
Properties
Property settings
Resource list
Resource search
General info
Reservation process
Time-related settings
Images
Vouchers
Show all...
Add new property
Add new package
Add new bundle
Reports
Integrate with my website
Scan QR Code
Message Inbox
Help
Sign out
API Playground - add_resource_season
Reservation search
Make reservation
add_resource_season
Adds a new season for given resource or entire Planyo site.
(click for full documentation)
start_month
int
*
Month of the season's start time (1-12)
start_day
int
*
Day of the season's start time (1-31)
end_month
int
*
Month of the season's end time (1-12)
end_day
int
*
Day of the season's end time (1-31)
year
int
Optionally you can limit the season to a single year
resource_id
int
---
Casa Sole (155470)
Casa Scim (155471)
Mountain Villa (156148)
Cima Rustico (160405)
If you specify resource ID, the season will be added only for this resource. If you leave this empty, the season will be added for the whole site.
site_id
int
This parameter is used only for metasite-level api keys. Setting site_id and not specifying any resource_id will add a global season (for the whole site). For site-specific api keys or when resource_id is specified, you can skip this parameter.
min_rental_time
float
*
Mininum rental duration during the season (expressed in hours so enter e.g. 0.25 for a 15-min period or 24 for a full day).
max_rental_time
float
You can optionally specify the maximum rental duration during the season (expressed in hours so enter e.g. 0.25 for a 15-min period or 24 for a full day).
start_weekday_flags
int
You can optionally force reservations to start on specific weekdays. These are ORed flags specifying days when rentals can start: 1 = 2^0 = Sunday, 2 = 2^1 = Monday, 4 = 2^2 = Tuesday, 8 = 2^3 = Wednesday, 16 = 2^4 = Thursday, 32 = 2^5 = Friday, 64 = 2^6 = Saturday -- example: when this value equals 3 = 2+1 = Monday + Sunday)
end_weekday_flags
int
You can optionally force reservations to end on specific weekdays. These are ORed flags specifying days when rentals can end: 1 = 2^0 = Sunday, 2 = 2^1 = Monday, 4 = 2^2 = Tuesday, 8 = 2^3 = Wednesday, 16 = 2^4 = Thursday, 32 = 2^5 = Friday, 64 = 2^6 = Saturday -- example: when this value equals 3 = 2+1 = Monday + Sunday)
priority
int
You can optionally specify the priority of this season. If multiple seasons match specific dates, the season with the lowest priority number will be used. If you skip this parameter (or specify 0) then the season will be inserted with the lowest priority. Specify 1 for the highest priority possible.
title
string
Seasons can optionally have names. You can use the same name for multiple seasons. In such case a single pricing manager rule can be used to set a new price for a number of date ranges. Season names are also useful for the calendar preview legend.
color
string
Seasons can optionally have a color assigned. Use the html color notation (e.g. #33FF33). The color will be used in calendar previews.
language
string
---
Afrikaans (AF)
български (BG)
Català (CA)
Čeština (CS)
Dansk (DA)
Deutsch (DE)
Eesti keel (ET)
English (EN)
Español (ES)
Føroyskt (FO)
Français (FR)
Hrvatski (HR)
Íslenska (IS)
Italiano (IT)
Kalaallisut (KL)
Lietuvių kalba (LT)
Magyar (HU)
Nederlands (NL)
Norsk (NO)
Polski (PL)
Português (PT)
Português brasileiro (BR)
Română (RO)
Suomi (FI)
Slovenčina (SK)
Slovenski (SL)
Svenska (SV)
Euskara (EU)
Ελληνικά (EL)
한국어 (KO)
日本語 (JA)
Русский (RU)
繁體中文 (TW)
Tiếng Việt (VI)
Український (UA)
ภาษาไทย (TH)
हिन्दी (HI)
اَلْعَرَبِيَّةُ (AR)
by specifying a 2-letter (ISO 639-1) language code (all capital letters e.g. EN, DE, FR, ES, IT) you can change the language of the text values returned
api_key
string
*
your API key -
Click here to get your key
*
- required field