Egenskaper
Prisinformasjon
Integrasjoner
Kontakt oss
Gratis 30 dagers prøvetid
Min konto
Logg av
Norsk
English
Français
Deutsch
Italiano
Español
Polski
Norsk
Chalet 5 Lake Manitoba Narrows
Side: 69645
Dashboard
Reservasjoner
Sist opprettet reservasjon
Kommende reservasjoner
Reservasjoner som venter på bekreftelse
Bekreftet
Pågående reservasjoner
Tidligere reservasjoner.
Sjekket inn
Ikke fullført
Kansellert av bruker
Kansellert av administrator
Event logg
Reservasjoner er endret av kunde
Konflikter
Pristilbud
Låste reservasjoner
Faktura
Omtaler
Søk
Tidsplan
Tilgjengelighet
Kunderegister
Brukere med reservasjoner
Brukere opprettet av admin / Legg til ny bruker
Svartelistete og forhåndsgodkjente brukere
Importer brukere
Vis kuponger
Abonnement
Hurtigoppsett
Innstillinger
Firmainformasjon
Aktive egenskaper
Online payments
Regionale innstillinger
Tilleggsprodukter
Design på reservasjonsskjema
Varsel innstillinger (E-post / SMS)
Prisadministrasjon
Sett enheter utilgjengelige for lengre eller gjentakende perioder.
Sesonginnstillinger
Vouchers
Kuponger
Tilpasset oversetting
Redigeringsverktøy for CSS stiler
Templater
Fargetittel & Fargeadministrering
Tilpassede ressursegenskaper
Vis alle...
Enheter
Innstillinger for enhet
Ressursliste
Søk ressurs
Generell info
Reservasjonsprosess
Tidsbaserte innstillinger
Bilder
Vouchers
Vis alle...
Legg til ny enhet
Legg til ny pakke
Legg til ny bundt
Rapporter
Integrer på mitt nettsted
Scan QR Code
Message Inbox
Hjelp
Logg av
Chalet 5 Lake Manitoba Narrows
Chalets demo
Copy of Holiday Apartment Demo
Copy of Holiday Apartment Demo
Copy of Holiday Apartment Demo
Fiskeværet Sør-Gjæslingan
Holiday Apartment Demo
karavani
qqqaaaa
RESERVABABI (RESIDENCE DE VACANCE)
META Verza Valley holiday apartments
API Playground - add_coupon_type
Søk
Send reservasjon
add_coupon_type
Adds a new coupon type.
(click for full documentation)
type
int
*
The type of the coupon: 1 - Prepaid amount, 2 - Number of hours, 3 - Number of entries, 4 - Valid for given number of days, 5 - Discount valid for given number of days.
amount
int
*
The coupon's amount. Depending on the coupon type, this can be: prepaid amount, number of hours, number of entries or number of days.
price
float
*
The coupon price. Note that the currency set up in the site is used when purchasing and using coupons.
custom_currency
string
Leave this field unset to use the default currency of your site. If you choose a custom currency, this will be the currency used when purchasing the coupon. In case of the Prepaid amount coupon, this will be also the currency of the coupon's amount. Note that the Prepaid coupon can be used only when its currency matches the reservation currency. For example, a prepaid coupon denominated in CHF can be used only with a reservation whose price is also denominated in CHF. It will not work with a reservation using e.g. EUR.
resource_ids
string
The comma-separated resource IDs for which the coupon can be used. If empty, the coupon can be used will all resources of the site.
label
string
Optional coupon's label. The label will be visible to the customer on the coupon purchase page instead of the standard coupon description.
is_personal
bool
---
true
false
When
true
, the coupon can be used only by a single person identified by an email address. When
false
, the coupon can be used with different email addresses. Defaults to 'false'.
entry_per_person
bool
---
true
false
Valid for the
Number of entries
coupon only. When
true
, one entry is counted per person. Otherwise, one entry is counted per reservation.
validity_limit_days
int
Valid for the
Prepaid amount
,
Number of hours
and
Number of entries
coupons only. When the coupon usage is time limited, this is the number of days of the limit.
free_validity_limit_start_date
bool
---
true
false
Valid for the
Prepaid amount
,
Number of hours
and
Number of entries
coupons only, when the coupon usage is time limited with
validity_limit_days
. The value of
true
means the customer can freely choose the first date of validity. Otherwise, coupon's validity always starts on the day the coupon is purchased.
validity_limit_relative_to
string
Valid for the
Prepaid amount
,
Number of hours
and
Number of entries
coupons only, when the coupon usage is time limited with
validity_limit_days
. For the value of
rental_creation
, validity will be checked against the time when a reservation is being made. For
arrival_departure
, validity will be checked against the reservation's arrival and departure dates. Defaults to
arrival_departure
.
discount_amount
int
For the
Discount valid for given number of days
type, this is the discount value in percent. Value between 0 and 100 is expected.
access_type
string
Determines how the customer will access the coupon. If empty (default), the customer can freely choose the access method (email, code or both). For
email
the customer is limited to use email address, for
code
the customer has to use code and for
email_and_code
the customer has to use both email address and code.
purchase_limit
int
You can limit the number of coupons of this type that your customers can purchase. For example, for
10
, only up to 10 such coupons can be sold. Leave this field empty not to set any limit.
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
*
- påkrevd felt