To cancel a booking, you can use the cancel call in the system. The necessary parameters are transferred via a GET request. Here are the details:
Endpoint: xml.php
Required parameters:
- action:
storno
- token: The token for access to the system
- reservation_id: The ID of the reservation
Return:
You receive a JSON array with the success of the cancelation: - success: true
/ false