action viator_cancellation_reasons { label: "/bookings/cancel-reasons" description: "Retrieves a dictionary of unique identification codes (`cancellationReasonCode`) and their associated natural-language descriptions (`cancellationReasonText`).\n\nFor information on how to use this service, see: [Cancellation API workflow](#section/Common-workflows-and-data-validation/Cancellation-API-workflow)\n\n**Note**: \n\n * This service <u>requires</u> [exp-api-key](#section/Authentication/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.\n * 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`\n" provider: viator method: GET path: "/bookings/cancel-reasons" encoding: json output: { 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" } } } } } } } }