Link Search Menu Expand Document

Booking Created or Updated Webhook

All new bookings or any change that affect bookings previously created should trigger a call to a Wherewolf endpoint, this will cause Wherewolf to fetch the new or updated details.

Cancellations: A cancellation or deletion also needs to trigger a call to Wherewolf, this is required so any pending jobs can be also cancelled.

Note: already checked-in guests will not have their details updated.

Headers:

  • Content-Type: application/json' required to indicate the body structure.

Body:

  • id id to indicate the booking to be fetched.
  • key API key provided by Wherewolf.
  • pool string to identify the target Wherewolf app.

Request example

curl -X POST \
  https://api.wherewolf.co.nz/integration/cache \
  -H 'Content-Type: application/json' \
  -d '{
        "id": "ABC123",
        "key": "api_key_provided_by_wherewolf",
        "pool": "wherewolf_app_identifier"
}'

Response example

{
    "success": true
}