Lugg Emails API

Customer

Booking Confirmation preview

GET /customers/bookings/confirmation/:bookingId
Booking Confirmation - send email
POST /customers/bookings/confirmation
Request body
bookingId: string, to: string | string[], replyTo?: string, subject?: string
Booking Receipt preview
GET /customers/bookings/receipt/:bookingId
Booking Receipt - send email
POST /customers/bookings/receipt
Request body
bookingId: string, to: string | string[], replyTo?: string, subject?: string

Partner

Booking Confirmation preview

GET /partners/bookings/confirmation/:bookingId
Booking En-route preview
GET /partners/bookings/en-route/:bookingId
Booking Canceled preview
GET /partners/bookings/canceled/:bookingId