🪝Before Query Appointments

Run custom code when checking in on the kiosk

Overview

The webhook is called when a customer uses the kiosk to check in to an appointment by entering a customer ID. (The "Check-In with customer ID" option must be enabled on the Kiosk).

Calling webhooks before searching for customer appointments in calendars allows you to use Cubu's S2S API to create ad-hoc appointments for the customer.

API

[base-url]/kiosk/actions/beforeQueryAppointments

Request Body

  • queryType: Supported values: CustomerId

  • unitId: The kiosk’s parent unit Id

  • kioskId: The ID of the kiosk which triggered the webhook.

  • customerId: The ID entered by the customer on the Kiosk

  • locale: The kiosk’s selected language

  • timeZoneId: The kiosk partner unit’s time zone

Response Body

This webhook does not return any data.

Last updated