This mutation is offered as part of the product management capability, which is available to pilot partners only. If you are interested in adopting this capability, contact your Technical Account Manager.
Retrieves all booking and cancellation policies set on the property.
Use the interactive GraphQL explorer in the following sections to run a sample query. A test property ID is passed into the explorer; its test data is returned. The GraphQL explorer will help you get comfortable with the GraphQL:
For each query, a test property ID is passed into the explorer; its test data is returned.
Click Run Query to execute the query in the explorer on the page. You can modify the query to retrieve the desired fields, and the explorer provides a list of fields when you start typing.
Click API Explorer to launch the full explorer in another tab/window, which provides syntax highlighting, schema introspection, real-time error highlighting, and auto-completion, among other things.
Entity that collects payment. If the property-level business model is Flex, this
can specify if the individual cancellation policy is merchant only or agency
only. Currently, only agency is supported.
Name
Description
AGENCY
MERCHANT
CancellationPenaltyRule
Object
Penalty type and amount.
Field
Description
applicability
Not nullable.
The booking value to which the cancellation penalty is applied.
Percentage of the total booking amount that is charged as a penalty.
Represented as a fraction of 1 (for example,: 10% should be represented as
0.1). Specify this field when type:PERCENTAGE is set.
Policy period (number of days, hour, or weeks before the check-in date that a cancellation can be done).
Field
Description
cutoff
Not nullable.
Number of days, hours, or weeks before the check-in date to which this policy
applies. If cutoff is set to 12000 hours or 500 days, which is the the maximum
reservation length, the policy applies to all days leading up to the next
cutoff period.
Policy types and tiers (cancellation window and penalty rules) for which they
are applied. Default policies are always applied to the selected rate plans
unless there are exceptions or seasonal cancellation policies present
(overridePolicies) with specific dates.
Policy overrides (also referred to as "exceptions"), which define cancellation
parameters for specific dates (also referred to as "seasonal cancellation policies").
The enforcement levels for the cancellation policy are as follows. Note that the
traveler must cancel the reservation by 11:59 PM (property’s local time) of the
cut-off day in order to receive the specified refund amount.
Name
Description
CUSTOM
Terms of the policy are defined by the custom policy.
FIRM
100% refund if reservation is cancelled at least 60 days before the arrival
date, 50% refund if reservation is cancelled at least 30 days before the arrival date.
MODERATE
100% refund if reservation is cancelled at least 30 days before the arrival
date, 50% refund if reservation is cancelled at least 14 days before the arrival date.
NO_REFUND
No refund.
RELAXED
100% refund if reservation is cancelled at least 14 days before the arrival
date, 50% refund if reservation is cancelled at least 7 days before the arrival date.
STRICT
100% refund if reservation is cancelled at least 60 days before the arrival date.
CancellationWindowTemporalUnit
Enum
Time unit used for the cancellation window.
Name
Description
DAY
HOUR
WEEK
CurrencyCode
CurrencyCode
Scalar that represents the three-letter currency code defined by the ISO 4217 standard.
CutoffDayType
Enum
Day when the property makes its inventory available after which same-day bookings can occur.
Name
Description
NEXT_DAY
SAME_DAY
Date
Date
Scalar that represents a date string compliant with the RFC 3339 profile of the ISO 8601 standard.
Decimal
Decimal
A type represending a signed decimal number (supporting up to two decimal places), which is serialized as a string.
ID
ID
The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
IdSource
Enum
Source of a given ID.
Name
Description
EXPEDIA
Expedia is the source of the ID.
SUPPLIER
Connectivity provider or lodging partner is the source of the ID. This value is not supported for use in promotions.
VRBO
Unsupported.
Int
Int
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
LocalTime
LocalTime
Scalar representing a time in this format: HH:mm:ss or HH:mm (such as 10:15:30 or 10:15).
Money
Object
Monetary amount value and its currency code.
Field
Description
amount
Not nullable.
Monetary amount value. The scale of the amount varies according to the
currency or any rate conversion that may have been applied.
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.