Use this method to send a confirmation e-mail for a successful reservation.

After a successful reservation our system has the ability to send a confirmation e-mail to the customer as well to the hotelier. This is the same e-mail message received after a successful reservation on the booking engine. Use this method to send these e-mail messages in cases you don't provide such a mechanism.

If you never do any post-processing and never plan to use /purge, then you can safely pass the &confirmation_email parameter during /book instead of using this method.

URL Endpoint

/reservation/confirmation_email

Note

This method is only accessible using a POST request.

To get a response in JSON make sure you are also sending the Accept: application/json header.

Method Parameters

NAME TYPE RANGE / SET REQUIRED DEFAULT EXAMPLE NOTES
res_id integer 10000000+ YES &res_id=10000000 see ownership note
email string email, varchar(128) YES &email=jsmith%40aol.com

Ownership

In order to send a confirmation e-mail for a reservation you must be the owner. Ownership is defined as follows:

  • For Hotelier API accounts all property reservations.
  • For Source API accounts only reservations made by that source.
  • For Agent API accounts only reservations made by that agent.