Skip to main content

Booking

POST

/api/v1/generic-api-service/royal/book

The booking endpoint is used to complete the reservation.

{
"contact": {
"name": "Etscore",
"surname": "Test",
"phoneCountryCode": "+90",
"phoneNumber": "5555555555",
"email": "[email protected]"
},
"roomSearchId": "1ca0b3e8-ff7e-455e-97a1-c2f201f1c0c5",
"checkIn": "2023-05-18",
"checkOut": "2023-05-21",
"hotelCode": "sxp0727y0bu6",
"payment": {
"paymentType": "CASH_EUR",
"price": "2821.50",
"currency": "EUR"
},
"guests": [
{
"name": "Etscore",
"surname": "Test",
"birthDate": "1990-09-13",
"email": "[email protected]",
"nationality": "TR",
"phoneNumber": "5555555555",
"phoneCountryCode": "+90",
"gender": "MALE",
"type": "ADULT"
}
],
"priceCode": "56661|sxp0727y0bu6|34|2023-05-18|2023-05-21|2|Sales|29o2cd1wxnlc0a8xizr29sew8gqh599j6|1sy7nz36og9vze4yway2uowfel4yg2t06",
"additionalInfo": "additional info",
"clientReferenceId": "7y0y0bu"
}