Cancel Reservation - Push_CancelReservation
Use this method to cancel previously created reservations. As soon as the reservation is cancelled, availability of a given property is increased. You can optionally provide CancelTypeID which defines who cancelled the reservation (Property Provider or the Guest).
Best Practices
- Check cancellation policy before cancelling
- Calculate refund amount
- Inform guest of refund details
- Process refund according to policy
Important Notes
- Cancellation policy applies: Refund amount depends on timing
- Non-refundable: Some reservations cannot be cancelled
- Fees may apply: Check property's cancellation policy
- Status changes: Reservation marked as cancelled
Request
XML request
<Push_CancelReservation_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<ReservationID>123</ReservationID>
<CancelTypeID>1</CancelTypeID>
</Push_CancelReservation_RQ>
Request fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Push_CancelReservation_RQ | C | Root element | |
| Push_CancelReservation_RQ/Authentication | C, M | Authentication details | |
| Push_CancelReservation_RQ/Authentication/AccessKey | String(100) | M | Access key |
| Push_CancelReservation_RQ/Authentication/SecretKey | String(100) | M | Secret key |
| Push_CancelReservation_RQ/ReservationID | String | M | Unique reservation ID |
| Push_CancelReservation_RQ/CancelTypeID | Integer | O | 1 - Property Provider cancellation, 2 - Guest cancellation |
Response
XML response
<Push_CancelReservation_RS>
<Status ID="0">Success</Status>
<ResponseID ID="1">Success</ResponseID>
</Push_CancelReservation_RS>
Response fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Push_CancelReservation_RS | C | Root element | |
| Push_CancelReservation_RS/Status | String(100) | M | See ListStatuses |
| Push_CancelReservation_RS/Status@ID | Integer | M | See ListStatuses |
| Push_CancelReservation_RS/ResponseID | String(32) | M | Unique response ID |