Params
Name | Type | Requireness | Default value | Description |
---|---|---|---|---|
start_date | string | required | none | YYYY-MM-DD Start of the updated period. |
end_date | string | required | none | YYYY-MM-DD End of the updated period. |
price | float | required | none | Nightly price for the period. |
currency | string | required | none | Currency code (3 symbols). |
min_stay | int | optional | none | Minimum stay length for the period |
property_uid | string | required | none | UID of property. |
is_user_action | bool | optional | false | Is request was caused by user action |
Description
Set property's calendar data for certain period. Data will be applied only if user's property setting allows it, otherwise data will be saved for further user's review.
This endpoint requires the following scope: pricing-management
Response sample
{
"status": 0
}
If the requested property has been merged into another, an error message is returned which contains the valid propertyUid
Sample error response:
{
"error": {
"message": "Property GSOXS92H472AFNZC has been merged into qc11106314. Please re-sync the list of user's properties",
"code": 13,
"newPropertyUid": "qc11106314"
}
}
To propose prices, re-sync user properties and use new Property Uid.