Skip to content

Beds24 info codes used

InfoItems are Beds24’s per-booking key/value store. We use them as durable flags that survive workflow respawns.

Codes we WRITE

CodeValueSet byPurpose
CA_PRE_CHECKIN_COMPLYforms-pre-checkin.ts on submitMarks pre-check-in done; gates T-3/T-1/T-0 reminder skip
CHECKINCOMarrival-timeform-bridge pre_checkinBA AA 287047 mirror
CHECKINYform-bridge checkinBA AA 287706 mirror
CHECKOUTYform-bridge checkoutBA AA 288621 mirror
COHOST_NOTIFIEDYcohost-notify.ts after sendingIdempotency for TP front desk notify
OTA_CONFIRMEDYchannel-specific.ts after Airbnb confirmIdempotency for Airbnb welcome
PAIDyeschannel-specific.ts after BookingCom flag setBA AA 291352 mirror
CANCEL_CLEAN_SENTYensureBookingFlagWorkflow cancel branchIdempotency for cleaner cancel notify
EarlyCheckInYadmin.ts addon-capture (early_checkin)BA AA 289186 mirror

Codes we READ

CodeRead byWhat it signals
CA_PRE_CHECKIN_COMPLT-3, T-1, T-0, A+1 chaseGuest completed pre-check-in form
CHECKINA+1 chaseGuest submitted check-in form
COHOST_NOTIFIEDrunCohostNotifyAlready sent — don’t re-notify
OTA_CONFIRMEDrunAirbnbConfirmAlready sent
PAIDrunBookingComPaidFlagAlready marked paid
CANCEL_CLEAN_SENTcancel branchAlready notified cleaners of cancellation
EarlyCheckIn(informational; not currently read)Captured early-check-in payment

Codes BA writes (we don’t manage)

These are written by BA’s auto-actions or manually; we don’t touch them:

  • CA_PRE_ARRIVAL_LINK — old ChargeAutomation URL (deprecated, our /forms/pre-checkin replaces this entirely)

How info codes get set

Via setInfoItem(env, token, bookingId, code, text) in src/beds24/client.ts. Internally:

  1. Fetch booking + existing infoItems
  2. Filter out the existing item with this code (if any)
  3. Push the new {code, text} entry
  4. updateBooking(env, token, bookingId, {infoItems: merged})

Replace-all semantics on the array, but the merge step preserves other codes.

Reading

getInfoItem(booking, code) returns the text for a code or null.

Source

  • src/beds24/client.tssetInfoItem, getInfoItem, InfoItem type