643 matches

[Overview](/catalog)[AI & ML7](/catalog/category/ai-ml)[Analytics8](/catalog/category/analytics)[Communication18](/catalog/category/communication)[CRM4](/catalog/category/crm)[Developer Tools6](/catalog/category/developer-tools)[E-commerce40](/catalog/category/e-commerce)[Finance52](/catalog/category/finance)[Infrastructure28](/catalog/category/infrastructure)[Marketing20](/catalog/category/marketing)[Other409](/catalog/category/other)[Productivity10](/catalog/category/productivity)[Security17](/catalog/category/security)[Social20](/catalog/category/social)[Storage2](/catalog/category/storage)[Support2](/catalog/category/support)

Request a provider

643 matches

[Overview](/catalog)[AI & ML7](/catalog/category/ai-ml)[Analytics8](/catalog/category/analytics)[Communication18](/catalog/category/communication)[CRM4](/catalog/category/crm)[Developer Tools6](/catalog/category/developer-tools)[E-commerce40](/catalog/category/e-commerce)[Finance52](/catalog/category/finance)[Infrastructure28](/catalog/category/infrastructure)[Marketing20](/catalog/category/marketing)[Other409](/catalog/category/other)[Productivity10](/catalog/category/productivity)[Security17](/catalog/category/security)[Social20](/catalog/category/social)[Storage2](/catalog/category/storage)[Support2](/catalog/category/support)

[Actions](/catalog/viator)

27 actions

![](https://www.google.com/s2/favicons?domain=viator.com&sz=64)

Viator API Documentation &amp; Specification – Merchant Partners

27 actions

* [/available/productsPOSTv1.0.0](/catalog/viator/available%5Fproducts)
* [/booking/availabilityPOSTv1.0.0](/catalog/viator/booking%5Favailability)
* [/booking/availability/datesGETv1.0.0](/catalog/viator/booking%5Favailability%5Fdates)
* [/booking/availability/tourgradesPOSTv1.0.0](/catalog/viator/booking%5Favailability%5Ftourgrades)
* [/booking/availability/tourgrades/pricingmatrixPOSTv1.0.0](/catalog/viator/booking%5Favailability%5Ftourgrades%5Fpricingmatrix)
* [/booking/bookPOSTv1.0.0](/catalog/viator/booking%5Fbook)
* [/booking/calculatepricePOSTv1.0.0](/catalog/viator/booking%5Fcalculateprice)
* [/booking/hotelsGETv1.0.0](/catalog/viator/booking%5Fhotels)
* [/booking/mybookingsGETv1.0.0](/catalog/viator/booking%5Fmybookings)
* [/booking/pastbookingGETv1.0.0](/catalog/viator/booking%5Fpastbooking)
* [/booking/pricingmatrixPOSTv1.0.0](/catalog/viator/booking%5Fpricingmatrix)
* [/booking/statusPOSTv1.0.0](/catalog/viator/booking%5Fstatus)
* [/booking/status/itemsPOSTv1.0.0](/catalog/viator/booking%5Fstatus%5Fitems)
* [/booking/voucherGETv1.0.0](/catalog/viator/booking%5Fvoucher)
* [/bookings/{booking-reference}/cancelPOSTv1.0.0](/catalog/viator/cancel%5Fbooking)
* [/bookings/{booking-reference}/cancel-quoteGETv1.0.0](/catalog/viator/cancel%5Fbooking%5Fquote)
* [/bookings/cancel-reasonsGETv1.0.0](/catalog/viator/cancellation%5Freasons)
* [/merchant/cancellationPOSTv1.0.0](/catalog/viator/merchant%5Fcancellation)
* [/productGETv1.0.0](/catalog/viator/product)
* [/product/photosGETv1.0.0](/catalog/viator/product%5Fphotos)
* [/product/reviewsGETv1.0.0](/catalog/viator/product%5Freviews)
* [/search/freetextPOSTv1.0.0](/catalog/viator/search%5Ffreetext)
* [/search/productsPOSTv1.0.0](/catalog/viator/search%5Fproducts)
* [/search/products/codesPOSTv1.0.0](/catalog/viator/search%5Fproducts%5Fcodes)
* [/taxonomy/attractionsPOSTv1.0.0](/catalog/viator/taxonomy%5Fattractions)
* [/taxonomy/categoriesGETv1.0.0](/catalog/viator/taxonomy%5Fcategories)
* [/taxonomy/destinationsGETv1.0.0](/catalog/viator/taxonomy%5Fdestinations)

E-commerce/Viator API Documentation &amp; Specification – Merchant Partners

# /bookings/cancel-reasons

v1.0.0swirls add viator cancellation\_reasons

Retrieves a dictionary of unique identification codes (`cancellationReasonCode`) and their associated natural-language descriptions (`cancellationReasonText`).

For information on how to use this service, see: Cancellation API workflow

Note:

* This service <u>requires</u> exp-api-key to be included as a header parameter. Please speak to your account manager if you have not yet been issued an exp-api-key.
* The base URL for the server for this endpoint is different from the older endpoints described in this document. Use `https://api.sandbox.viator.com/partner/cancel-reasons`

SchemasSource

## Input

1. 1
2. 2
3. 3
4. 4
5. 5
6. 6
7. 7
8. 8
9. 9
10. 10
11. 11
12. 12

```
{
  "type": "object",
  "properties": {
    "Accept-Language": {
      "type": "string"
    }
  },
  "required": [
    "Accept-Language"
  ],
  "additionalProperties": false
}
```

## Output

1. 1
2. 2
3. 3
4. 4
5. 5
6. 6
7. 7
8. 8
9. 9
10. 10
11. 11
12. 12
13. 13
14. 14
15. 15
16. 16
17. 17
18. 18
19. 19
20. 20
21. 21
22. 22
23. 23
24. 24
25. 25

```
{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "reasons": {
        "type": "array",
        "description": "Array of cancellation reason codes and their asssociated texts for display to the user",
        "items": {
          "type": "object",
          "properties": {
            "cancellationReasonCode": {
              "type": "string",
              "description": "Machine-interpretable identification code for this cancellation"
            },
            "cancellationReasonText": {
              "type": "string",
              "description": "Natural-language description of this cancellation reason"
            }
          }
        }
      }
    }
  }
}
```