> For the complete documentation index, see [llms.txt](https://traveloapi.gitbook.io/api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://traveloapi.gitbook.io/api/hotel-api/untitled.md).

# Hotel Cancel

## Hotel Cancellation

<mark style="color:blue;">`GET`</mark> `https://traveloapi.com/yourapi/hotelapi/hotel_cancel`&#x20;

#### Path Parameters

| Name   | Type   | Description           |
| ------ | ------ | --------------------- |
| gatkey | string | Gatkey provided by us |

#### Query Parameters

| Name          | Type   | Description                      |
| ------------- | ------ | -------------------------------- |
| itineraryId   | string | itineraryId from book response   |
| transactionid | string | transactionid from book response |

{% tabs %}
{% tab title="200 " %}

```javascript
{
  
  "hotelName": "Hotel Seagull",
  "hotelPostalCode": null,
  "itineraryId": "343754809",
  "numberOfRoomsBooked": null,
  "processWithConfirmation": "CF",
  "reservationNumbers": "343754809",
  "reservationStatusCode": "CF",
  "roomDescription": null,
  "supplierType": null,
  "transactionid": 56274781,
  "cancelcharge": 2510,
  "night":2,
  "refund":4590,
  "status":"cancelled"
}
```

{% endtab %}

{% tab title="404 " %}

```javascript
{
    "message": "error"
}
```

{% endtab %}
{% endtabs %}
