Skip to content
English
  • There are no suggestions because the search field is empty.

How Online Booking Duplicate Detection Works

Source: workshop-public-booking-api-gateway/lib/eventRequestUtils.js

  • Checks for identical bookings within 24-hour window only
  • Match key: company_id + customer_id + vehicle_id + requested_date + appointment_type
  • Returns HTTP 200 (success) with original booking ID — not an error
  • After 24 hours, identical submission creates a new booking

Support scenarios

  • "Customer booked twice" → second booking was >24 hours after first
  • "API returned success but no new booking" → duplicate detected, returned original