Revision history
The following updates have been made to the Lodging Supply GraphQL API schema, from newest to oldest updates:
May 2025
The
unitsquery will be replaced by theunitsPaginatedquery, to provide filters and paginated results when retrieving a property's units. Stated differently, theunitsobject under thepropertyquery will be replaced with theunitsPaginatedobject. Theunitsquery will be fully deprecated and unsupported in Q4 2025.Note that the
unitsquery retrieves active and inactive units. TheunitsPaginatedquery returns only active units, by default. To retrieve active and inactive units using theunitsPaginatedquery, you must include thestatusfilter (set tostate: ALL).Old query:
1query {2 property(id: $id, idSource: $idSource) {3 units {4 ids {5 id6 idSource7 }8 activeStatus {9 active10 }11 ...12 }13 }14}New query:
1query {2 property(id: $id, idSource: $idSource) {3 unitsPaginated(4 cursor: $cursor,5 filters: {status: {state: $status}},6 limit: $limit7 ) {8 elements {9 ids {10 id11 idSource12 }13 ...14 }15 }16 }17}The following limits are now in place for address fields:
- Address line 1 - 2-80 characters are supported
- Address line 2 - 1-80 characters are supported
- City - 2-80 characters are supported
- State or province - 2-40 characters are supported
- Postal code - 3-20 characters are supported
February 2025
Special check-in instructions (specified by the Property API's SPECIAL_CHECKIN_INSTRUCTIONS field) are no longer considered as part of the HasCheckInInstructions checkpoint.
November 2022
Released the initial version of the property status capability of the Lodging Partner GraphQL API.