AllotmentBlocks

updateAllotmentBlock

Update an allotment block @apiQuery {Integer} propertyID Property ID

post/updateAllotmentBlock

Request

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

Request body application/x-www-form-urlencoded

allotmentBlockCodestring

The allotment block code identifying the allotment block to update

allotmentBlockNamestring nullable

The name for the allotment block

allowOverbookingboolean nullable

If false, or omitted, then this update will fail if it would result in an overbooking. If true, then the update will succeed even if it results in an overbooking.

allotmentType'allotment' | 'based_on_availability' nullable

The allotment type

allotmentBlockStatus'definite' | 'tentative' | 'lead' | 'cancelled' nullable

The status for the allotment block under

Response

200 Response

successboolean

Returns if the request could be completed

Changes

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