Room

putRoomBlock

Updates a room block.

put/putRoomBlock

Request

  • Base URL
    https://api.cloudbeds.com/api/v1.3
  • URL
    https://api.cloudbeds.com/api/v1.3/putRoomBlock
  • Auth
    • API key in header x-api-key
    • or OAuth 2
      Authorization code
      Scopes: write:roomblock

Request body application/x-www-form-urlencoded

propertyIDstring nullable

Property ID

roomBlockIDstring

Room block ID

roomBlockReasonstring nullable

Room block reason

startDatestring date nullable

Room block start date

endDatestring date nullable

Room block end date

firstNamestring nullable

First name - for courtesy hold updates

lastNamestring nullable

Last name - for courtesy hold updates

lengthOfHoldInHoursinteger nullable

Length of hold in hours - for courtesy hold updates

emailstring nullable

Email address - for courtesy hold updates

phonestring nullable

Phone number - for courtesy hold updates

Response

200 Response

successboolean

Returns if the request could be completed

propertyIDstring

Property ID

roomBlockIDstring

Room block ID

roomBlockType'blocked_dates' | 'out_of_service' | 'courtesy_hold'

Room block type. 'blocked_dates' - Room block. 'out_of_service' - Out of service block. 'courtesy_hold' - Courtesy hold.

roomBlockReasonstring

Room block reason

startDatestring date

Room block start date

endDatestring date

Room block end date

messagestring

To be used in case any error occurs (if success = false). If success = true, it does not exist.

Changes

No recorded changes to this operation across all 2 revisions of this API.