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/token
tohttps://api.expediagroup.com/identity/oauth2/v3/token
- API endpoint, from
https://apis.expediaconnectivity.com/graphql
tohttps://api.expediagroup.com/supply/lodging/graphql
Schema changes:
Property : geoLocation
is deprecated and replaced withcoordinates
Address : city
is deprecated and replaced withlocality
Address : country
is deprecated and replaced withcountryCode
Address : line1, line2, line3
are deprecated and replaced withaddressLines
Address : province
is deprecated and replaced withadministrativeArea
sublocality
field added to theAddress
object
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:
BlackoutDateRange
object:travelDateFrom
andtravelDateTo
now use theLocalDate
type (fromDate
)BlackoutDateRangeInput
input object:travelDateFrom
andtravelDateTo
now use theLocalDate
type (fromDate
)BookingLocalDateTimeInput
object:from
andto
now use theLocalDateTime
type (fromDateTime
)CheckoutDateFilter
input object:from
andto
now use theLocalDate
type (fromString
)Reservation
object:checkInDate
andcheckOutDate
now use theLocalDate
type (fromString
)Restrictions
object:bookingLocalDateTimeFrom
andbookingLocalDateTimeTo
now use theLocalDateTime
type (from DateTime)travelDateFrom
andtravelDateTo
now use theLocalDate
type (fromDate
)
RestrictionsCreateInput
input object:bookingLocalDateTimeFrom
andbookingLocalDateTimeTo
now use theLocalDateTime
type (fromDateTime
) -travelDateFrom
andtravelDateTo
now use theLocalDate
type (fromDate
)
RestrictionsUpdateInput
input object:bookingLocalDateTimeFrom
andbookingLocalDateTimeTo
now use theLocalDateTime
type (fromDateTime
)travelDateFrom
andtravelDateTo
now use theLocalDate
type (fromDate
)
Restrictions
object:travelDateFrom
andtravelDateTo
now use theLocalDate
type (fromDate
)SupplierRate
object:fromDate
andtoDate
now use theLocalDate
type (fromString
)TravelDateInput
input object:from
andto
now use theLocalDate
type (fromDate
)
November 2020
Released the initial version of the Lodging Partner GraphQL API to Expedia partners, including the promotions capability.