RESERVATION event

POST your-callback-url

Request body example:
{
  "event": "RESERVATION",
  "uniqueСode": "add6767dsds",
  "date": "2019-04-29T15:19:21Z",
  "body": {
      "id": 1908,
      "externalReference": "0187",
      "pin": "096775",
      "status": "confirmed",
      "createdAt": "2019-04-28T10:05:24Z",
      "expireAt": "2019-04-28T11:05:24Z",
      "slot": {
          "id": 1001,
          "gameId": 154,
          "date": "2019-05-10T10:00:00Z"
      },
      "playersCount": 5,
      "lang": "en",
      "info": "Customer's additional info",
      "customer": {
          "email": "john.smith@example.com",
          "firstname": "John",
          "lastname": "Smith",
          "phone": "12 34 56 7"
      },
      "cost": 75,
      "currency": "EUR"      
  }
}   

Occurs when a reservation is created or canceled. When creating a new reservation or canceling an existing one at the Escapelist.com, the Escapelist will send a POST request to your callback URL with the reservation data. The status field contains the current reservation status.

Request body

JSON object

FieldTypeDescription
eventstringEvent name
uniqueCodestringEvent ID
datedatetime in YYYY-MM-DDTHH:mm:ssZ formatDatetime of the message
body<Order>Order object, see Order item