Skip to content

Confirmation API

Overview

The Confirmation API handles booking confirmations and related operations within the Gustaffo Reservations system.

Base Path

All confirmation endpoints are prefixed with /confirmation

Authentication

Confirmation endpoints require appropriate authentication based on the operation being performed.

Confirmation Process

The confirmation process follows these steps:

  1. Booking Event: A booking is created, modified, or cancelled
  2. Confirmation Request: System initiates confirmation process
  3. Template Selection: Appropriate confirmation template is selected
  4. Data Population: Booking data is populated into template
  5. Confirmation Generation: Confirmation document is generated
  6. Delivery Method Selection: System selects appropriate delivery method
  7. Confirmation Delivery: Confirmation is delivered to guest
  8. Delivery Tracking: System tracks delivery status
  9. Confirmation Storage: Confirmation is stored for future reference

Endpoints

Booking Confirmations

Manages the confirmation process for hotel reservations.

Key Operations: - Generate booking confirmations - Send confirmation emails - Retrieve confirmation details - Update confirmation status

Confirmation Processing

Handles the processing and delivery of confirmations.

Key Features: - Automated confirmation generation - Multi-channel confirmation delivery - Confirmation tracking and status - Confirmation customization

Confirmation Types

Booking Confirmations

  • Initial booking confirmation
  • Reservation details
  • Payment information
  • Check-in instructions

Modification Confirmations

  • Booking change confirmations
  • Updated reservation details
  • Price adjustment notifications
  • New confirmation numbers

Cancellation Confirmations

  • Cancellation acknowledgment
  • Refund information
  • Cancellation policy details
  • Alternative booking suggestions

Business Rules

Confirmation Generation

  • Confirmations are generated automatically upon booking
  • Confirmation numbers are unique and sequential
  • Confirmation details match booking information
  • Confirmations are sent to verified contact information

Confirmation Delivery

  • Multiple delivery channels are supported
  • Delivery failures are retried automatically
  • Confirmation delivery is tracked
  • Backup delivery methods are available

Delivery Channels

Email Confirmations

  • HTML formatted confirmations
  • PDF attachment support
  • Template-based customization
  • Delivery tracking

SMS Confirmations

  • Brief confirmation messages
  • Booking reference numbers
  • Check-in reminders
  • Important updates
  • Formatted confirmation documents
  • QR code integration
  • Barcode support
  • Professional formatting

Integration Points

The Confirmation API integrates with: - Booking management systems - Email delivery services - SMS notification services - Template management systems - Print services - QR code generation systems

Error Handling

Common error scenarios: - Invalid booking references - Confirmation delivery failures - Template processing errors - Integration service failures - Invalid contact information

Back to top