Rate Price and Restriction

Price management

Pushes a rate plan prices values as collection

post
Authorizations
api-tokenstringRequired
Bodyobject[]
room_type_idinteger · int64Required
rate_plan_idinteger · int64Required
datestring · dateOptional
fromstring · dateOptional
tostring · dateOptional
Responses
200

OK

application/json
post
/api/external/v0/rate-plan/price/push
200

OK

Fields

date conditional

Date availability for. Note: Unable to be in past.

from conditional

Date availability valid from. Note: Unable to be in past.

to conditional

Date availability valid to. Date Included. Note: Unable to be less than to. If from equal to behavior will be the same as single date.

prices required

Map of prices code to it value

Code
Description

INFUNT

Price per infant per night

EXTRA_ADULT

Price per adult guest per night on extra bad.

EXTRA_CHILD

Price per child guest per night on extra bad.

MAIN1

Price per room for 1 guest accommodation.

MAIN2

Price per room for 2 guests accommodation.

MAIN{NUMBER} - Mean Accommodation per {NUMBER} guests.

Amount. Number can be with decimal dot separator.

Pushes a rate plan prices values as map

post
Authorizations
api-tokenstringRequired
Bodyobject[]
room_type_idinteger · int64Required
rate_plan_idinteger · int64Required
datestring · dateOptional
fromstring · dateOptional
tostring · dateOptional
Responses
200

OK

application/json
post
/api/external/v0/rate-plan/price/push/map
200

OK

Finds a rate plan prices values as collections

post
Authorizations
api-tokenstringRequired
Body
room_type_idinteger · int64Required
rate_plan_idinteger · int64Required
fromstring · dateRequired
tostring · dateRequired
Responses
200

OK

application/json
post
/api/external/v0/rate-plan/price/find
200

OK

Finds a rate plan prices values as map

post
Authorizations
api-tokenstringRequired
Body
room_type_idinteger · int64Required
rate_plan_idinteger · int64Required
fromstring · dateRequired
tostring · dateRequired
Responses
200

OK

application/json
post
/api/external/v0/rate-plan/price/find/map
200

OK

Restriction management

Pushes a rate plan restrictions values as collections

post
Authorizations
api-tokenstringRequired
Bodyobject[]
room_type_idinteger · int64Required
rate_plan_idinteger · int64Required
datestring · dateOptional
fromstring · dateOptional
tostring · dateOptional
Responses
200

OK

application/json
post
/api/external/v0/rate-plan/restriction/push
200

OK

Fields

date conditional

Date availability for. Note: Unable to be in past.

from conditional

Date availability valid from. Note: Unable to be in past.

to conditional

Date availability valid to. Date Included. Note: Unable to be less than to. If from equal to behavior will be the same as single date.

type required

Posible value one of:

Map of restrictions code to it value

Type
Description

STOP_SALE

Ban on sales for this period. That is, if this restriction applies to the reservation period, then the tariff plan is not available.

CLOSED_TO_ARRIVAL

Prohibition of entry on a specific date. If the check-in date is changed before or after this ban, the tariff will be available. For example, entry ban on 12.31, 01.01. Check-in can be booked from 30.12 or 02.01

CLOSED_TO_DEPARTURE

Prohibition of departure on a specific date. If the departure date is changed before or after this ban, the tariff will be available. For example, the ban on leaving on 31.12, 01.01. Can book accommodation with departure - 30.12 or 02.01

MIN_STAY_THROUGH

The maximum number of nights available for a reservation containing a specified date.

MIN_STAY_ARRIVAL

Minimum number of nights available for a reservation starting on a specified date.

MAX_STAY

Maximum number of nights available for booking. For example, the set limit is 3 days, a guest choosing to stay for 4 or more days will not be issued a tariff with this limitation.

MIN_ADVANCED_BOOKING_OFFSET

Minimum Advanced Booking Offset (Min Adv Offset) Example: Suppose you have set up booking cut off to 3 days. If a guest is looking to book for May 4th, your guest will only be able to book (or see availability) before May 1st. Minimum number of nights from the date of reservation to the date of arrival. Reservation at least N days before arrival. "Early booking'' strategy. For example, if the set limit is 3 days, a guest choosing accommodation for today or for the next day will not receive a tariff with this restriction.

MAX_ADVANCED_BOOKING_OFFSET

Maximum Advanced booking Offset (Max Adv Offset) Example: Suppose you have set up last-minute booking to 3 days. If a guest is looking to book for May 4th, your guest will only be able to book (or see availability) after May 1st. Maximum number of nights from the date of reservation to the date of arrival. Reservation less than N-days before check-in. "Last chance'' strategy. For example, if the set limit is 3 days, the guest choosing accommodation, which should take place in 3 or more days from the current date, will not receive a tariff, with this limitation.

Type
Value
Default
Example

STOP_SALE

Logic

false

true or false

CLOSED_TO_ARRIVAL

Logic

false

true or false

CLOSED_TO_DEPARTURE

Logic

false

true or false

MIN_STAY_THROUGH

Number

1

3 - Any positive number

MIN_STAY_ARRIVAL

Number

1

2 - Any positive number

MAX_STAY

Number

not set

60 - Any positive number

MIN_ADVANCED_BOOKING_OFFSET

Number

not set

5 - Any positive number

MAX_ADVANCED_BOOKING_OFFSET

Number

not set

10 - Any positive number

Pushes a rate plan restrictions values as map

post
Authorizations
api-tokenstringRequired
Bodyobject[]
room_type_idinteger · int64Required
rate_plan_idinteger · int64Required
datestring · dateOptional
fromstring · dateOptional
tostring · dateOptional
Responses
200

OK

application/json
post
/api/external/v0/rate-plan/restriction/push/map
200

OK

Finds a rate plan restrictions values as collections

post
Authorizations
api-tokenstringRequired
Body
room_type_idinteger · int64Required
rate_plan_idinteger · int64Required
fromstring · dateRequired
tostring · dateRequired
Responses
200

OK

application/json
post
/api/external/v0/rate-plan/restriction/find
200

OK

Finds a rate plan restrictions values as map

post
Authorizations
api-tokenstringRequired
Body
room_type_idinteger · int64Required
rate_plan_idinteger · int64Required
fromstring · dateRequired
tostring · dateRequired
Responses
200

OK

application/json
post
/api/external/v0/rate-plan/restriction/find/map
200

OK

Last updated