Revision history
The following updates have been made to the Lodging Supply GraphQL API schema, from newest to oldest updates:
October 2022
Updated endpoints:
- Token service, from
https://apis.expediaconnectivity.com/oauth/tokentohttps://api.expediagroup.com/identity/oauth2/v3/token - API endpoint, from
https://apis.expediaconnectivity.com/graphqltohttps://api.expediagroup.com/supply/lodging/graphql
Schema changes:
Property : geoLocationis deprecated and replaced withcoordinatesAddress : cityis deprecated and replaced withlocalityAddress : countryis deprecated and replaced withcountryCodeAddress : line1, line2, line3are deprecated and replaced withaddressLinesAddress : provinceis deprecated and replaced withadministrativeAreasublocalityfield added to theAddressobject
April 2022
Support for "evergreen" promotions was added, to enable partners to create promotions with no end date. To do this, specify these restrictions: "bookingLocalDateTimeTo": "2079-06-06T23:59:00" and "travelDateTo": "2079-06-06"
August 2021
Added isContractedPromotion to the Promotion interface and DiscountPromotion type to enable partners to determine whether a promotion was negotiated. Negotiated promotions can be queried but not changed.
July 2021
Added sellStatus to the Promotion interface and DiscountPromotion type to enable partners to query for a promotion's sell status (whether the promotion is currently bookable based on the its reservation date/time range.)
March 2021
The Date type was renamed LocalDate, and the DateTime type is now LocalDateTime. This affects the promotions capability. Here is a summary of the schema changes:
BlackoutDateRangeobject:travelDateFromandtravelDateTonow use theLocalDatetype (fromDate)BlackoutDateRangeInputinput object:travelDateFromandtravelDateTonow use theLocalDatetype (fromDate)BookingLocalDateTimeInputobject:fromandtonow use theLocalDateTimetype (fromDateTime)CheckoutDateFilterinput object:fromandtonow use theLocalDatetype (fromString)Reservationobject:checkInDateandcheckOutDatenow use theLocalDatetype (fromString)Restrictionsobject:bookingLocalDateTimeFromandbookingLocalDateTimeTonow use theLocalDateTimetype (from DateTime)travelDateFromandtravelDateTonow use theLocalDatetype (fromDate)
RestrictionsCreateInputinput object:bookingLocalDateTimeFromandbookingLocalDateTimeTonow use theLocalDateTimetype (fromDateTime) -travelDateFromandtravelDateTonow use theLocalDatetype (fromDate)
RestrictionsUpdateInputinput object:bookingLocalDateTimeFromandbookingLocalDateTimeTonow use theLocalDateTimetype (fromDateTime)travelDateFromandtravelDateTonow use theLocalDatetype (fromDate)
Restrictionsobject:travelDateFromandtravelDateTonow use theLocalDatetype (fromDate)SupplierRateobject:fromDateandtoDatenow use theLocalDatetype (fromString)TravelDateInputinput object:fromandtonow use theLocalDatetype (fromDate)
November 2020
Released the initial version of the Lodging Partner GraphQL API to Expedia partners, including the promotions capability.