Booking Cancel

This endpoint use DELETE method with the booking_id of your boooking to cancel it. Request headers have to include the token on the authentication key.

Endpoint
DELETE https://{{base_url}}/api-v2/booking/{booking_id}/
Headers
{
    ...
    "authentication": "token {{YOUR_NEW_TOKEN}}"
    ...
}

Response format and explanation of every field

Response
{
    "booking_id": "904638",
    "reference_number": "",
    "is_active": false
}
KeyTypeDescription
booking_idstringnumber of the booking, unique identifier
reference_numberstringreference number added by the user
is_activebooleanwheter the booking is active