Cancel Booking
| Last Update Date |
13.07.2023 |
Request Url
http://api.stage.paximum.com/v1/booking/cancel
Request Model
| Attribute |
Type |
Required |
Description |
| BookingId |
String |
No |
BookingId or Number required |
| BookingNumber |
String |
No |
BookingId or Number required |
Request Sample
{"bookingId":"58a47e23-8e35-4f3b-b7d9-be69e6315cb2"}
Response Model
| Attribute |
Type |
Description |
| BookingId |
String |
This field contains the HotelId as a string. |
| Cancellation
|
Object |
This object contains offer information. |
| Attribute |
Type |
Description |
| BookingId |
String |
|
| Status |
String |
Bookig status(Confirmed,OnRequest,Rejected,Cancelled,Pending) |
|
Response Sample
{
"bookingId": "58a47e23-8e35-4f3b-b7d9-be69e6315cb2",
"cancellation": {
"bookingId": "58a47e23-8e35-4f3b-b7d9-be69e6315cb2",
"status": "Cancelled"
}
}