# Expedia

> Look up lodging content, regions, availability and prices, and manage Rapid lodging bookings.

App · 24 actions. Web page: https://docs.lodol.com/docs/integrations/expedia

## Actions

### Amenities Reference

Get a complete collection of amenities available in the Rapid API.

**Inputs**

- Language (`language`, text, required): Language.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {}
}
```

### Campaigns Search

Search for campaigns.

**Inputs**

- Language (`language`, text, required): Language.
- Blockout dates (`blockout_dates`, true/false): Blockout dates.
- Bookable end (`bookable_end`, text): Bookable end.
- Bookable start (`bookable_start`, text): Bookable start.
- Lifetime (`lifetime`, text): Lifetime. One of: `limited_time_offer` (Limited time offer), `evergreen`.
- Campaign id (`campaign_id`, list): Campaign id.
- Include (`include`, list): Include.
- Min discount (`min_discount`, text): Min discount.
- Stay end (`stay_end`, text): Stay end.
- Stay start (`stay_start`, text): Stay start.
- Token (`token`, text): Token.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (list): Expedia response data.

**Example output**

```json
{
  "data": []
}
```

### Cancel a room.

This link will be available in the retrieve response.

**Inputs**

- Customer ip (`customer_ip`, text, required): Customer ip.
- Itinerary id (`itinerary_id`, text, required): Itinerary id.
- Room id (`room_id`, text, required): Room id.
- Token (`token`, text, required): Token.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {}
}
```

### Cancel Held Booking

This link will be available in a held booking response.

**Inputs**

- Customer ip (`customer_ip`, text, required): Customer ip.
- Itinerary id (`itinerary_id`, text, required): Itinerary id.
- Token (`token`, text, required): Token.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {}
}
```

### Categories Reference

Get a complete collection of categories available in the Rapid API.

**Inputs**

- Language (`language`, text, required): Language.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {}
}
```

### Chains Reference

Get a complete collection of chains recognized by the Rapid API.

**Inputs**

- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {}
}
```

### Change details of a room.

This link will be available in the retrieve response. Changes in smoking preference and special request will be.

**Inputs**

- Customer ip (`customer_ip`, text, required): Customer ip.
- Itinerary id (`itinerary_id`, text, required): Itinerary id.
- Room id (`room_id`, text, required): Room id.
- Token (`token`, text, required): Token.
- Given name (`given_name`, text): First name of room guest. Max 60 characters. Special characters ("<", ">", "(", ")", and "&") entered in this field will be re-encoded.
- Family name (`family_name`, text): Last name of room guest. Max 60 characters. Special characters ("<", ">", "(", ")", and "&") entered in this field will be re-encoded.
- Sensitive traveler details (`sensitive_traveler_details`, object): Additional sensitive (PII) data about a traveler that should only be submitted in cases where it is necessary to clarify the identity of the traveler.
- Smoking (`smoking`, true/false): Specify if the guest would prefer a smoking room. This field is only a request and the property is not guaranteed to honor it, it will not override any non-smoking policies by the hotel.
- Special request (`special_request`, text): Special requests to send to hotel (not guaranteed). Do not use this field to communicate B2B customer service requests or pass any sensitive personal or financial information (PII). Special characters ("<", ">", "(", ")", and "&") entered in this field will be re-encoded.
- Loyalty id (`loyalty_id`, text): Deprecated. Please use the loyalty id inside the loyalty object.
- Loyalty (`loyalty`, object): A loyalty object for a loyalty program.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {}
}
```

### Create Booking

This link will be available in the Price Check response or in the register payments response when Two-Factor Authentication is used. It returns an itinerary id and links to retrieve reservation details, cancel a held booking, resume a held booking or complete payment session. Please note that depending on the state of the booking, the response will contain only the applicable link(s).

**Inputs**

- Customer ip (`customer_ip`, text, required): Customer ip.
- Token (`token`, text, required): Token.
- Affiliate reference id (`affiliate_reference_id`, text): Your unique reference value. This field supports from 3 to a maximum of 28 characters and is required to be unique (if provided). Entering special characters ("<", ">", "(", ")", and "&") in this field will result in the request being rejected.
- Hold (`hold`, true/false): Flag for placing a booking on hold. The booking will be released if the resume link is not followed within the hold period. Please refer to our Hold and Resume documentation.
- Email (`email`, text, required): Email address for the customer. Must adhere to standard RFC 822 email format. Special characters ("<", ">", "(", ")", and "&") entered in this field will be re-encoded.
- Phone (`phone`, object, required): The entire phone number must be represented across the three fields in this object. The entire phone number should not exceed 25 characters.
- Rooms (`rooms`, list, required): Rooms.
- Payments (`payments`, list): Required if payment information prior to booking was not submitted. If register payments was called prior to this call, do not submit payment information again.
- Affiliate metadata (`affiliate_metadata`, text): Field that stores up to 256 characters of additional metadata with the itinerary. Will be returned on all retrieve responses for this itinerary. The data must be in the format 'key1:value|key2:value|key3:value'. Other Special characters ("<", ">", "(", ")", and "&") entered in this field will be re-encoded.
- Tax registration number (`tax_registration_number`, text): The customer's taxpayer identification number that is provided by the government to nationals or resident aliens. This number should be collected from individuals that pay taxes or participate in activities that provide revenue for one or more tax types. *Note:* This value is only needed from Brazilian and Indian customers.
- Traveler handling instructions (`traveler_handling_instructions`, text): Custom traveler handling instructions for the hotel. Do not include PCI sensitive data, such as credit card numbers, in this field.
- Invoicing (`invoicing`, object): To be included if invoicing is requested.
- Supplier transparency (`supplier_transparency`, object): To be used for collecting and sharing partner and client information with the supplier.

**Outputs**

- `data` (object): The book response.

**Example output**

```json
{
  "data": {
    "encoded_challenge_config": "example",
    "itinerary_id": "example",
    "links": {
      "cancel": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      },
      "complete_payment_session": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      },
      "resume": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      },
      "retrieve": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      }
    },
    "trader_information": {
      "terms_and_conditions": "example",
      "traders": []
    }
  }
}
```

### Get Accepted Payment Types - EPS MOR Only

Get the accepted payment options. Use this API to power your checkout page and display valid forms of payment, ensuring a smooth booking.

**Inputs**

- Property id (`property_id`, text, required): Property id.
- Token (`token`, text, required): Token.

**Outputs**

- `data` (object): The payment option response.

**Example output**

```json
{
  "data": {
    "affiliate_collect": {
      "name": "example"
    },
    "credit_card": {
      "card_options": [],
      "merchant": {
        "name": "example"
      },
      "name": "example"
    }
  }
}
```

### Get additional property room rates and availability

Get additional rates on available room types, using the parameters of the previous call. The response includes rate details such as promos, whether the rate is refundable, cancellation penalties and a full price breakdown to meet the price display requirements for your market.

**Inputs**

- Property id (`property_id`, text, required): Property id.
- Token (`token`, text, required): Token.
- Checkin (`checkin`, date): Checkin.
- Checkout (`checkout`, date): Checkout.
- Exclusion (`exclusion`, list): Exclusion. One or more of: `refundable_damage_deposit` (Refundable damage deposit), `card_on_file` (Card on file).
- Filter (`filter`, list): Filter. One or more of: `refundable`, `expedia_collect` (Expedia collect), `property_collect` (Property collect), `loyalty`, `deal`.
- Include (`include`, list): Include. One or more of: `sale_scenario.mobile_promotion` (Sale scenario.mobile promotion).
- Occupancy (`occupancy`, list): Occupancy.
- Rate option (`rate_option`, list): Rate option. One or more of: `cross_sell` (Cross sell), `member`, `net_rates` (Net rates).
- Sales channel (`sales_channel`, text): Sales channel. One of: `website`, `agent_tool` (Agent tool), `mobile_app` (Mobile app), `mobile_web` (Mobile web), `meta`, `cache`.
- Currency (`currency`, text): Currency.

**Outputs**

- `data` (list): Expedia response data.

**Example output**

```json
{
  "data": []
}
```

### Get Booking

This API call returns itinerary details and links to resume or cancel the booking. There are two methods to retrieve a booking:.

**Inputs**

- Customer ip (`customer_ip`, text, required): Customer ip.
- Itinerary id (`itinerary_id`, text, required): Itinerary id.
- Token (`token`, text): Token.
- Email (`email`, text): Email.
- Include (`include`, list): Include. One or more of: `history`, `history_v2` (History v2), `marketing_fee_details` (Marketing fee details), `rooms.links.conversation`.

**Outputs**

- `data` (object): The itinerary object.

**Example output**

```json
{
  "data": {
    "additional_handling": {
      "authorized_expenses": "prestay_expenses_only",
      "authorizing_company": "example",
      "card_contact": {
        "email": "example",
        "phone": {
          "area_code": "example",
          "country_code": "example",
          "number": "example"
        }
      },
      "is_cvc_required": false,
      "max_payment_attempt_count": 1.0,
      "payment_allowable_period_end": "example",
      "payment_allowable_period_start": "example",
      "specified_incidental_expenses": [],
      "total_charges_allowed": {
        "currency": "example",
        "value": "example"
      }
    },
    "adjustment": {
      "currency": "example",
      "type": "example",
      "value": "example"
    },
    "affiliate_metadata": "example",
    "affiliate_reference_id": "example",
    "billing_contact": {
      "address": {
        "city": "example",
        "country_code": "example",
        "line_1": "example",
        "line_2": "example",
        "line_3": "example",
        "postal_code": "example",
        "state_province_code": "example"
      },
      "family_name": "example",
      "given_name": "example"
    },
    "conversations": {
      "links": {}
    },
    "creation_date_time": "example",
    "email": "example",
    "essential_information": {
      "contact": {
        "address": {
          "city": "example",
          "country_code": "example",
          "line_1": "example",
          "line_2": "example",
          "line_3": "example",
          "postal_code": "example",
          "state_province_code": "example"
        },
        "email": "example",
        "name": "example",
        "phone": {
          "area_code": "example",
          "country_code": "example",
          "number": "example"
        }
      },
      "essentials": [],
      "update_available_date": "example"
    },
    "impacted_fields": [],
    "invoicing": {
      "company_address": {
        "city": "example",
        "country_code": "example",
        "line_1": "example",
        "line_2": "example",
        "line_3": "example",
        "postal_code": "example",
        "state_province_code": "example"
      },
      "company_name": "example",
      "consent_to_share": false,
      "email": "example",
      "point_of_sale_display": "example",
      "vat_number": "example"
    },
    "itinerary_history": [],
    "itinerary_id": "example",
    "links": {
      "cancel": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      },
      "non_vat_expedia_invoice": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      },
      "payment_change": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      },
      "resume": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      }
    },
    "phone": {
      "area_code": "example",
      "country_code": "example",
      "number": "example"
    },
    "property_id": "example",
    "room_history": [],
    "rooms": [],
    "supplier_transparency": {
      "company_name_to_share": "example",
      "consent_to_share": false,
      "point_of_sale_display_to_share": "example"
    },
    "trader_information": {
      "terms_and_conditions": "example",
      "traders": []
    },
    "travel_purpose": "leisure"
  }
}
```

### Get property room rates and availability

Get rates on available room types for specified properties (maximum of 250 properties per request). The response includes rate details such as promos, whether the rate is refundable, cancellation penalties and a full price breakdown to meet the price display requirements for your market.

**Inputs**

- Checkin (`checkin`, date, required): Checkin.
- Checkout (`checkout`, date, required): Checkout.
- Currency (`currency`, text, required): Currency.
- Country code (`country_code`, text, required): Country code.
- Language (`language`, text, required): Language.
- Occupancy (`occupancy`, list, required): Occupancy.
- Property id (`property_id`, list, required): Property id.
- Rate plan count (`rate_plan_count`, number, required): Rate plan count.
- Sales channel (`sales_channel`, text, required): Sales channel. One of: `website`, `agent_tool` (Agent tool), `mobile_app` (Mobile app), `mobile_web` (Mobile web), `meta`, `cache`.
- Sales environment (`sales_environment`, text, required): Sales environment. One of: `hotel_package` (Hotel package), `hotel_only` (Hotel only), `loyalty`.
- Amenity category (`amenity_category`, list): Amenity category.
- Exclusion (`exclusion`, list): Exclusion. One or more of: `refundable_damage_deposit` (Refundable damage deposit), `card_on_file` (Card on file).
- Filter (`filter`, list): Filter. One or more of: `refundable`, `expedia_collect` (Expedia collect), `property_collect` (Property collect), `loyalty`, `deal`.
- Include (`include`, list): Include. One or more of: `unavailable_reason` (Unavailable reason), `sale_scenario.mobile_promotion` (Sale scenario.mobile promotion), `rooms.rates.marketing_fee_incentives` (Rooms.rates.marketing fee incentives), `rooms.rates.current_refundability` (Rooms.rates.current refundability), `rooms.rates.holdable`, `rooms.rates.marketing_fee_details` (Rooms.rates.marketing fee details).
- Rate option (`rate_option`, list): Rate option. One or more of: `cross_sell` (Cross sell), `member`, `net_rates` (Net rates).
- Token (`token`, text): Token.
- Travel purpose (`travel_purpose`, text): Travel purpose. One of: `leisure`, `business`.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (list): Expedia response data.

**Example output**

```json
{
  "data": []
}
```

### Inactive Properties

Request a list of properties that are inactive because they have been removed from sale since a specified.

**Inputs**

- Since (`since`, text): Since.
- Token (`token`, text): Token.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (list): The list of properties that became inactive and are still inactive since the requested date.

**Example output**

```json
{
  "data": []
}
```

### Price-Check

Confirms the price returned by the Property Availability response. Use this API to verify a previously-selected rate is still valid before booking. If the price is matched, the response returns a link to request a booking. If the price has changed, the response returns new price details and a booking link for the new price. If the rate is no longer available, the response will return a new Property Availability request link to search again for different rates. In the event of a price change, go back to Property Availability and book the property at the new price or return to additional rates for the property.

**Inputs**

- Property id (`property_id`, text, required): Property id.
- Room id (`room_id`, text, required): Room id.
- Rate id (`rate_id`, text, required): Rate id.
- Token (`token`, text, required): Token.

**Outputs**

- `data` (object): The price check response.

**Example output**

```json
{
  "data": {
    "amount_owed": {
      "billable_currency": {
        "currency": "example",
        "value": "example"
      },
      "request_currency": {
        "currency": "example",
        "value": "example"
      }
    },
    "card_on_file_limit": {
      "currency": "example",
      "value": "example"
    },
    "deposits": [],
    "holdable": false,
    "links": {
      "additional_rates": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      },
      "book": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      },
      "commit": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      },
      "payment_session": {
        "expires": "example",
        "href": "example",
        "method": "example",
        "required_parameters": []
      }
    },
    "occupancy_pricing": {},
    "penalty": {
      "billable_currency": {
        "currency": "example",
        "value": "example"
      },
      "request_currency": {
        "currency": "example",
        "value": "example"
      }
    },
    "refund": {
      "billable_currency": {
        "currency": "example",
        "value": "example"
      },
      "request_currency": {
        "currency": "example",
        "value": "example"
      }
    },
    "refundable_damage_deposit": {
      "currency": "example",
      "value": "example"
    },
    "status": "available",
    "trader_information": {
      "terms_and_conditions": "example",
      "traders": []
    }
  }
}
```

### Promotions Search

Search for promotions.

**Inputs**

- Language (`language`, text, required): Language.
- Sort by (`sort_by`, text, required): Sort by. One of: `promotion`, `property`, `destination`.
- Blockout dates (`blockout_dates`, true/false): Blockout dates.
- Bookable end (`bookable_end`, text): Bookable end.
- Bookable start (`bookable_start`, text): Bookable start.
- Campaign id (`campaign_id`, list): Campaign id.
- Category id (`category_id`, list): Category id.
- Chain id (`chain_id`, list): Chain id.
- Lifetime (`lifetime`, text): Lifetime.
- Promotion id (`promotion_id`, list): Promotion id.
- Include (`include`, list): Include.
- Market region (`market_region`, list): Market region. One or more of: `amer`, `apac`, `emea`, `latam`.
- Members only (`members_only`, true/false): Members only.
- Min advance purchase days (`min_advance_purchase_days`, text): Min advance purchase days.
- Min guest rating (`min_guest_rating`, text): Min guest rating.
- Min star rating (`min_star_rating`, text): Min star rating.
- Min stay (`min_stay`, text): Min stay.
- Mobile only (`mobile_only`, true/false): Mobile only.
- Product line (`product_line`, list): Product line.
- Promotion criteria (`promotion_criteria`, text): Promotion criteria.
- Property id (`property_id`, list): Property id.
- Region id (`region_id`, list): Region id.
- Stay end (`stay_end`, text): Stay end.
- Stay start (`stay_start`, text): Stay start.
- Supply source (`supply_source`, list): Supply source. One or more of: `expedia`, `vrbo`.
- Token (`token`, text): Token.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (list): Expedia response data.

**Example output**

```json
{
  "data": []
}
```

### Properties within Polygon

Get the properties within an custom polygon that represents a multi-city area or smaller.

**Inputs**

- Include (`include`, text, required): Include.
- Supply source (`supply_source`, text, required): Supply source. One of: `expedia`, `vrbo`.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.
- Type (`type`, text, required): The geometry type. The only supported type is `Polygon`
- Coordinates (`coordinates`, list, required): An array of linear ring coordinate arrays that combine to make up a single [Polygon](https://www.rfc-editor.org/rfc/rfc7946#section-3.1.6) in geojson format. If there is more than one linear ring at this level, the first is the outer boundary and the remaining linear rings are interior rings or holes.

**Outputs**

- `data` (object): A map of property ids to property objects.

**Example output**

```json
{
  "data": {}
}
```

### Property Content

Search property content for active properties in the requested language.

**Inputs**

- Language (`language`, text, required): Language.
- Supply source (`supply_source`, text, required): Supply source. One of: `expedia`, `vrbo`.
- All inclusive (`all_inclusive`, list): All inclusive.
- Amenity id (`amenity_id`, list): Amenity id.
- Attribute id (`attribute_id`, list): Attribute id.
- Brand id (`brand_id`, list): Brand id.
- Business model (`business_model`, list): Business model. One or more of: `expedia_collect` (Expedia collect), `property_collect` (Property collect).
- Category id (`category_id`, list): Category id.
- Category id exclude (`category_id_exclude`, list): Category id exclude.
- Chain id (`chain_id`, list): Chain id.
- Country code (`country_code`, list): Country code.
- Date added end (`date_added_end`, text): Date added end.
- Date added start (`date_added_start`, text): Date added start.
- Date updated end (`date_updated_end`, text): Date updated end.
- Date updated start (`date_updated_start`, text): Date updated start.
- Include (`include`, list): Include.
- Multi unit (`multi_unit`, true/false): Multi unit.
- Property id (`property_id`, list): Property id.
- Property rating max (`property_rating_max`, text): Property rating max.
- Property rating min (`property_rating_min`, text): Property rating min.
- Spoken language id (`spoken_language_id`, list): Spoken language id.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {}
}
```

### Property Guest Reviews

Note: Property Guest Reviews are only available if your account is configured for access and all launch requirements have been followed. Please find the launch requirements here https://support.expediapartnersolutions.com/hc/en-us/articles/360008646799 and contact your Account Manager for more details.

**Inputs**

- Language (`language`, text, required): Language.
- Property id (`property_id`, text, required): Property id.
- Filter (`filter`, list): Filter. One or more of: `language`.
- Trip reason (`trip_reason`, list): Trip reason. One or more of: `business`, `leisure`, `friends_and_family` (Friends and family), `business_and_leisure` (Business and leisure).
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (object): A property's guest reviews.

**Example output**

```json
{
  "data": {
    "verified": {
      "recent": []
    }
  }
}
```

### Region

Get the geographic definition and property mappings for the requested Region ID. The response is a single JSON formatted region object.

**Inputs**

- Region id (`region_id`, text, required): Region id.
- Language (`language`, text, required): Language.
- Include (`include`, list, required): Include. One or more of: `details`, `property_ids` (Property ids), `property_ids_expanded` (Property ids expanded).
- Supply source (`supply_source`, text): Supply source. One of: `expedia`, `vrbo`.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {
    "ancestors": [],
    "associations": {},
    "categories": [],
    "coordinates": {
      "bounding_polygon": {
        "type": "example"
      },
      "center_latitude": 1.0,
      "center_longitude": 1.0
    },
    "country_code": "example",
    "country_subdivision_code": "example",
    "descendants": {},
    "descriptor": "example",
    "iata_airport_code": "example",
    "iata_airport_metro_code": "example",
    "id": "example",
    "name": "example",
    "name_full": "example",
    "property_ids": [],
    "property_ids_expanded": [],
    "tags": [],
    "type": "example"
  }
}
```

### Regions

Get the geographic definition and property mappings of regions matching the specified parameters.

**Inputs**

- Include (`include`, list, required): Include. One or more of: `standard`, `details`, `property_ids` (Property ids), `property_ids_expanded` (Property ids expanded).
- Language (`language`, text, required): Language.
- Ancestor id (`ancestor_id`, text): Ancestor id.
- Area (`area`, text): Area.
- Country code (`country_code`, list): Country code.
- Country subdivision code (`country_subdivision_code`, list): Country subdivision code.
- Iata location code (`iata_location_code`, text): Iata location code.
- Limit (`limit`, number): Limit.
- Supply source (`supply_source`, text): Supply source. One of: `expedia`, `vrbo`.
- Type (`type`, list): Type.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (list): Expedia response data.

**Example output**

```json
{
  "data": []
}
```

### Resume Booking

This link will be available in the booking response after creating a held booking.

**Inputs**

- Customer ip (`customer_ip`, text, required): Customer ip.
- Itinerary id (`itinerary_id`, text, required): Itinerary id.
- Token (`token`, text, required): Token.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {}
}
```

### Room Amenities Reference

Get a complete collection of roomo amenities available in the Rapid API.

**Inputs**

- Language (`language`, text, required): Language.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {}
}
```

### Search for and retrieve Bookings with Affiliate Reference Id

This can be called directly without a token when an affiliate reference id is provided. It returns details about bookings associated with an affiliate reference id, along with cancel links to cancel the bookings.

**Inputs**

- Customer ip (`customer_ip`, text, required): Customer ip.
- Affiliate reference id (`affiliate_reference_id`, text, required): Affiliate reference id.
- Email (`email`, text, required): Email.
- Include (`include`, list): Include. One or more of: `history`, `history_v2` (History v2), `marketing_fee_details` (Marketing fee details), `rooms.links.conversation`.

**Outputs**

- `data` (list): Expedia response data.

**Example output**

```json
{
  "data": []
}
```

### Spoken Languages Reference

Get a complete collection of spoken languages available in the Rapid API.

**Inputs**

- Language (`language`, text, required): Language.
- Billing terms (`billing_terms`, text): Billing terms.
- Partner point of sale (`partner_point_of_sale`, text): Partner point of sale.
- Payment terms (`payment_terms`, text): Payment terms.
- Platform name (`platform_name`, text): Platform name.

**Outputs**

- `data` (object): Expedia response data.

**Example output**

```json
{
  "data": {}
}
```
