Caractéristiques
Nos prix
Intégrations
Contact
Essai gratuit de 30 jours
Mon compte
Fermer la session
Français
English
Français
Deutsch
Italiano
Español
Polski
Norsk
Holiday Apartment Demo
Site: 51045
Tableau de bord
Réservations
Réservations ajoutées récemment
Prochaines réservations
Réservations en attente
Confirmé
Locations en cours
Réservations dans le passé
Enregistré
Non abouti
Annulé par le client
Annulé par l'administrateur
Journal des événements
Réservations modifiée par client
Conflits
Proposition de prix
Réservations verrouillées
Factures
Commentaires
Recherche
Horaire
Disponibilité
Liste des clients
Utilisateurs avec réservations
Utilisateurs crées par l'administrateur / Ajouter un nouvel utilisateur
Utilisateurs prohibés et pre-approuvés
Importation d'utilisateurs
Liste des coupons
Abonnement
Configuration rapide
Paramètres du Site
Infos société
Fonctionnalités actives
Paiements en ligne
Options régionales
Produits supplémentaires
Formulaire de réservation
Notifications (Email / SMS)
Gestion des prix
Vacances de la ressource
Saisons
Vouchers
Coupons
Traductions personnalisées
Editeur CSS
Modèles
Gestion des couleurs
Propriétés de ressources
Tout afficher...
Ressources
Paramètres de la ressource
Liste des ressources
Recherche de ressources
Informations générales
Processus de réservation
Réglages de temps
Images
Vouchers
Tout afficher...
Nouvelle ressource
Nouveau forfait
Ajouter un nouveau groupment
Rapports
Intégration avec site web
Code QR
Boîte de réception
Aide
Fermer la session
API Playground - add_pricing_manager_rule
Recherche
Réservation
add_pricing_manager_rule
Adds a new rule to Pricing Manager.
(click for full documentation)
rule_type
int
*
One of the following:
--- Reservation form ---
6=reservation form item
5=number of persons
8=additional persons present
29=additional adults present
30=additional children present
18=custom property (user)
4=quantity of resources
37=unit
27=voucher
19=resource sharing
47=zip/postal code
--- Date ---
24=season of the start date
49=season of the end date
26=season
2=date
10=start date
15=end date
16=date including year
17=start date including year
33=end date including year
1=weekday
12=start weekday
13=end weekday
51=number of calendar days
46=number of days in season
--- Hour ---
7=hour
11=start hour
21=end hour
--- Duration and reservation time ---
3=duration
42=rental duration chosen
14=additional days
22=additional hours
9=time remaining until rental
31=time remaining until rental ends
48=reservation time (hour)
34=reservation time (date)
--- Returning customer ---
35=number of hours reserved recently
36=number of times reserved recently
38=total hours in existing rentals in given period
39=total number of existing rentals in given period
--- Shopping cart ---
41=total resource quantity in cart
43=position in shopping cart
44=additional hours in shopping cart
45=total hours in shopping cart
40=repeated reservation number
--- Other ---
50=coupon holder
32=quantity still available
23=price calculated so far
20=daily pricing
28=csv file
25=always true
rule_subtype
string
Extra rule data, e.g. when rule_type=6, it's the property name
rule_value
string
Extra rule data (usually the first value in the range such as starting date or min.quantity)
rule_value_2
string
Extra rule data (last value in the range such as ending date or max. quantity)
adv_condition_rules
string
Comma-separated rules used for the advanced condition
adv_condition_type
int
Type of the advanced condition: null: no extra condition, 0: "if any of the following rules ... were applied", 1: "if all of the following rules ... were applied", 2: "if none of the following rules ... were applied", 3: "for the times for which the following rules ... were applied"
adv_condition_extra
int
One of the following: null: no extra condition, 1: only when this rule increases the price, 2: only when this rule decreases the price
label
string
Extra comments
site_id
int
Planyo site ID. Needed only for metasite API keys.
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
*
- champ obligatoire