Cancel Booking

Cancels a hotel booking using the booking code. Returns cancellation status and booking details.Note: For this endpoint, please select the Helper API's Sandbox or Production server from the dropdown in the Base URL panel. Please Note that the bookingStatus in the Success API should be "Cancelled" for a booking to be considered Cancelled"

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The unique booking code/identifier to cancel.

Headers
string
required

Bearer token for authenticating the request.

string
required
Defaults to external-service

Specifies the type of authorization, here it is set to external-service.

string
enum
required
Defaults to website

Specifies the source of the request (End User Source). Available choices: website, android, mweb, ios, mobile.

Allowed:
Responses

400

Bad Request. One or more request parameters are invalid or missing.

401

Unauthorized - Invalid or missing token

403

Forbidden - Insufficient permissions

404

Not Found. The requested resource could not be located.

500

Internal server error

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json