Cancel a booking Note: This service has been replaced by the , and endpoints
643 matches
27 actions
Viator API Documentation & Specification – Merchant Partners
27 actions
- /available/productsPOSTv1.0.0
- /booking/availabilityPOSTv1.0.0
- /booking/availability/datesGETv1.0.0
- /booking/availability/tourgradesPOSTv1.0.0
- /booking/availability/tourgrades/pricingmatrixPOSTv1.0.0
- /booking/bookPOSTv1.0.0
- /booking/calculatepricePOSTv1.0.0
- /booking/hotelsGETv1.0.0
- /booking/mybookingsGETv1.0.0
- /booking/pastbookingGETv1.0.0
- /booking/pricingmatrixPOSTv1.0.0
- /booking/statusPOSTv1.0.0
- /booking/status/itemsPOSTv1.0.0
- /booking/voucherGETv1.0.0
- /bookings/{booking-reference}/cancelPOSTv1.0.0
- /bookings/{booking-reference}/cancel-quoteGETv1.0.0
- /bookings/cancel-reasonsGETv1.0.0
- /merchant/cancellationPOSTv1.0.0
- /productGETv1.0.0
- /product/photosGETv1.0.0
- /product/reviewsGETv1.0.0
- /search/freetextPOSTv1.0.0
- /search/productsPOSTv1.0.0
- /search/products/codesPOSTv1.0.0
- /taxonomy/attractionsPOSTv1.0.0
- /taxonomy/categoriesGETv1.0.0
- /taxonomy/destinationsGETv1.0.0
E-commerce/Viator API Documentation & Specification – Merchant Partners
/merchant/cancellation
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
{
"type": "object",
"properties": {
"Accept-Language": {
"type": "string"
},
"cancelItems": {
"type": "array",
"description": "**array** of objects detailing itinerary items to cancel",
"items": {
"type": "object",
"properties": {
"cancelCode": {
"type": "string",
"description": "**cancellation code** that describes the reason for the cancellation\n- see: [Suggested cancellation codes](#suggested-cancellation-codes)\n"
},
"cancelDescription": {
"type": "string",
"description": "**natural-language description** of the reason for cancellation (a reason must be provided if `cancelCode` is `62` or `66`)"
},
"distributorItemRef": {
"type": "string",
"description": "**alphanumeric reference code** of the distributor item"
},
"itemId": {
"type": "integer",
"description": "**numeric identifier** of item to cancel in itinerary"
}
}
}
},
"distributorRef": {
"type": "string",
"description": "**itinerary reference identifier** (partner defined) for the booking to cancel"
},
"itineraryId": {
"type": "integer",
"description": "**numeric identifier** for the itinerary"
}
},
"required": [
"Accept-Language"
],
"additionalProperties": false
}Output
- 1
- 2
- 3
{
"type": "object"
}