Docs/API Reference/Unit Blocks & Group Holds

Create a group hold: keep units of one or more room types for a group

Unit Blocks & Group Holds · POST /v1/group-holds

Create a group hold: keep units of one or more room types for a group

POST/v1/group-holds

Note

Made in the property's PMS first (Cloudbeds: an allotment block), then recorded here. If Cloudbeds will not create the group, 422 pms_rejected says to create it in Cloudbeds and send its `groupCode`. Other providers answer 422 pms_write_unsupported; `GET /v1/listings/{id}` → `capabilities.inventory.groupHolds` says what a listing supports. With the connection's write policy `reservations.api` off: 409 pms_writes_off. Book the group's rooms with `POST /v1/reservations` → `groupHoldId`; release what is left with `DELETE /v1/group-holds/{id}`. Guide: /docs/multi-unit#group-holds

Request

curl -X POST https://api.repull.dev/v1/group-holds \
  -H "Authorization: Bearer $REPULL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Feather offsite", "startDate": "2027-03-10", "endDate": "2027-03-12", "units": [{ "listingId": 30908, "quantity": 5 }] }'

Response

{
  "id": "AB12CD",
  "name": "Feather offsite",
  "status": "tentative",
  "groupCode": "FEATHER27",
  "startDate": "2027-03-10",
  "endDate": "2027-03-12",
  "releaseDate": null,
  "units": [
    { "listingId": "30908", "date": "2027-03-10", "held": 5, "booked": 0 },
    { "listingId": "30908", "date": "2027-03-11", "held": 5, "booked": 0 },
    { "listingId": "30909", "date": "2027-03-11", "held": 2, "booked": 0 }
  ],
  "provider": "cloudbeds",
  "createdAt": "2027-02-01T15:00:00.000Z",
  "updatedAt": "2027-02-01T15:00:00.000Z"
}

Body Parameters

namestringRequired

The group's name (max 200 characters).

statusstringDefault: tentative

`confirmed` (contracted), `tentative` or `inquiry` (a lead).

startDatedateRequired

First held night, YYYY-MM-DD.

endDatedateRequired

The day after the last held night.

units[{ listingId, quantity, startDate?, endDate? }]Required

1 to 100 lines: `quantity` units of each listing (room type), every night. A line may narrow its own dates within the hold's.

groupCodestring

An existing group in the PMS to attach the hold to. A Cloudbeds hold always belongs to a group: without `groupCode`, one is created where the account allows it.

AI