createFeeSet mutation
Creates a fee set that can be associated with rate plans. Fees defined at the rate-plan level are included in the price that travelers see when booking and are either paid in advance for Expedia Collect bookings or upon arrival for Hotel Collect bookings. These fees include
- Extra guest fees (extra person fees)
- Service fees per person or per stay
This mutation does not create mandatory and optional fees at a property level; those are created using the Property API. Property-level fees are not included in the price that travelers pay when booking and are collected upon arrival or during a traveler’s stay. These include
- Mandatory fees, such as resort or cleaning fees
- Optional fees that only apply to guests who make use of specific facilities and services, such as parking or spa fees
And you cannot define optional fees that are defined at the unit level, such as surcharges for extra beds or wifi fees. Use the createUnit
mutation or updateUnit
mutation to define these fees.
Syntax
1mutation {3}
Examples
- Request
- Response
1mutation {2 createFeeSet(3 input: {4 clientMutationId: "some-id"5 name: "FeeSet_property_01"6 propertyId: "1234"7 businessModel: AGENCY8 fees: [9 {10 name: "per-stay-service-fee-01"11 type: "SERVICE"12 scope: "ACCOMMODATION"13 charges: [14 {15 duration: NIGHT,16 flatAmount: {17 amount: 12,18 currencyCode: "USD"19 }20 }21 ]22 taxable: true23 variesByLengthOfStay: false24 }25 ]26 }27 ) {28 clientMutationId29 feeSet {30 id31 name32 businessModel33 fees {34 name35 type36 charges {37 duration38 percentage39 flatAmount {40 amount41 currencyCode42 }43 }44 ageCategory45 restrictions {46 dateRange {47 from48 to49 }50 extraGuestRange {51 min52 max53 }54 rangeOfNight {55 min56 max57 }58 }59 taxable60 variesByLengthOfStay61 }62 }63 }64}
Arguments
Name | Description |
---|---|
| Required. Type: CreateFeeSetInput |
Types
Name | Type | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Boolean | Boolean | |||||||||||||||
The | ||||||||||||||||
CreateFeeSetInput | InputObject | |||||||||||||||
Input parameters for creating a fee set.
| ||||||||||||||||
CreateFeeSetPayload | Object | |||||||||||||||
Fee set defined for the property.
| ||||||||||||||||
CurrencyCode | CurrencyCode | |||||||||||||||
Scalar that represents the three-letter currency code defined by the ISO 4217 standard. | ||||||||||||||||
Date | Date | |||||||||||||||
Scalar that represents a date string compliant with the RFC 3339 profile of the ISO 8601 standard. | ||||||||||||||||
Decimal | Decimal | |||||||||||||||
Scalar representing an arbitrary-precision and scale decimal number, serialized as a string. | ||||||||||||||||
Fee | Object | |||||||||||||||
Details about a fee.
| ||||||||||||||||
FeeAgeCategory | Enum | |||||||||||||||
Age category values.
| ||||||||||||||||
FeeBusinessModel | Enum | |||||||||||||||
Values for the property's business model.
| ||||||||||||||||
FeeCharge | Object | |||||||||||||||
Amount, type, and duration of the fee.
| ||||||||||||||||
FeeChargeDuration | Enum | |||||||||||||||
Duration of time to which the fee is applied.
| ||||||||||||||||
FeeChargeInput | InputObject | |||||||||||||||
Amount, type, and duration of the fee.
| ||||||||||||||||
FeeChargeType | Enum | |||||||||||||||
How the fee is applied (flat amount or percentage).
| ||||||||||||||||
FeeDateRange | Object | |||||||||||||||
FeeDateRangeInput | InputObject | |||||||||||||||
FeeInput | InputObject | |||||||||||||||
Details about a fee.
| ||||||||||||||||
FeeRestrictions | Object | |||||||||||||||
Restrictions applied to the fee (dates or extra guests).
| ||||||||||||||||
FeeRestrictionsInput | InputObject | |||||||||||||||
Restrictions applied to the fee (dates or extra guests).
| ||||||||||||||||
FeeSet | Object | |||||||||||||||
Details and fees that make up the fee set.
| ||||||||||||||||
ID | ID | |||||||||||||||
The | ||||||||||||||||
Int | Int | |||||||||||||||
The | ||||||||||||||||
IntRange | Object | |||||||||||||||
IntRangeInput | InputObject | |||||||||||||||
Money | Object | |||||||||||||||
Monetary amount value and its currency code.
| ||||||||||||||||
String | String | |||||||||||||||
The |