Update Price & Restrictions
API methods to work with Update Price & Restrictions
Update Rate & Restrictions for specific Rate Plans and Dates.
Header:
URL:
Query body (JSON):
Fields
action [required]
update_rates_and_restriction
echo_token [required]
String value , Unique value for each request.
property_id [required]
Integer Value.
room_type_id [required]
Integer Value. Only one room_type_id can be available into one request.
date_from [required]
String with date in ISO 8601 format by mask YYYY-MM-DD
.
Start of applicable date range.date should not be greater than two year from current date.
date_to [required]
String with date in ISO 8601 format by mask YYYY-MM-DD
.
End of applicable date range.date should not be greater than two year from current date.
rate [optional]
Positive Integer or decimal value.
The value should be greater than 0.
min_stay [optional]
Positive Integer value.
closed_to_arrival [optional]
Boolean value.
Also, our API allow pass 0
or 1
as Boolean representation.
closed_to_departure [optional]
Boolean value.
Also, our API allow pass 0
or 1
as Boolean representation.
stop_sell [optional]
Boolean value.
Also, our API allow pass 0
or 1
as Boolean representation.
Last updated
Was this helpful?