Booking

A booking, sometimes called a reservation, is a stay associated with a contact.

List all bookings

get

Returns a list of bookings across all gift cards. The bookings are ordered by the date they were created, with the most recent first.

Authorizations
Query parameters
pageintegerOptional

The collection page number

Default: 1
createdAt[before]stringOptional
createdAt[strictly_before]stringOptional
createdAt[after]stringOptional
createdAt[strictly_after]stringOptional
updatedAt[before]stringOptional
updatedAt[strictly_before]stringOptional
updatedAt[after]stringOptional
updatedAt[strictly_after]stringOptional
checkIn[before]stringOptional
checkIn[strictly_before]stringOptional
checkIn[after]stringOptional
checkIn[strictly_after]stringOptional
checkOut[before]stringOptional
checkOut[strictly_before]stringOptional
checkOut[after]stringOptional
checkOut[strictly_after]stringOptional
Responses
200

Booking collection

get
GET /bookings HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
[
  {
    "id": 1,
    "createdAt": "2025-08-20T03:44:53.834Z",
    "updatedAt": "2025-08-20T03:44:53.834Z",
    "checkIn": "2025-08-20T03:44:53.834Z",
    "checkOut": "2025-08-20T03:44:53.834Z",
    "numberOfGuests": 1,
    "roomType": null,
    "roomName": null,
    "externalReference": null,
    "total": 1,
    "currencyCode": "text",
    "customerReference": "text",
    "purpose": "text",
    "channelNumber": null,
    "origin": "text"
  }
]

Retrieve a booking

get

Retrieves a Booking resource.

Authorizations
Path parameters
idstringRequired

Booking identifier

Responses
200

Booking resource

get
GET /bookings/{id} HTTP/1.1
Host: api.glu.io
x-api-key: YOUR_API_KEY
Accept: */*
{
  "id": 1,
  "createdAt": "2025-08-20T03:44:53.834Z",
  "updatedAt": "2025-08-20T03:44:53.834Z",
  "checkIn": "2025-08-20T03:44:53.834Z",
  "checkOut": "2025-08-20T03:44:53.834Z",
  "numberOfGuests": 1,
  "roomType": null,
  "roomName": null,
  "externalReference": null,
  "total": 1,
  "currencyCode": "text",
  "customerReference": "text",
  "purpose": "text",
  "channelNumber": null,
  "origin": "text"
}