Extensions
Modified on: 2026-06-04 11:57
The following illustrates the use of extensions in GO to accommodate different business purposes, where GO acts as a passthrough. As long as the supplier is able to handle and return the required information to the distributor, the extensions will function properly — and vice versa.
| Key | Description | Example |
|---|---|---|
| GUEST_NATIONALITY | Used by Distributor in Live Check to get rate based on the code of guest nationality passed to the Supplier. | { "header": { "supplierId": "ABC", "distributorId": "XYZ", "version": "v4.9.8", "token": "1778657584322" }, "stayRange": { "checkin": "2026-06-19", "checkout": "2026-06-20" }, "roomCriteria": { "roomCount": 1, "adultCount": 1, "childCount": 0, "childAges": [] }, "hotelId": "164-482208", "iata": "", "bookingChannel": "", "extensions": { "GUEST_NATIONALITY": "CN" } } |
| loyaltyProgram loyaltyAccountId | Used by Distributor to pass the guest's loyalty information with the Supplier via @extensions under @guests in Reservations.
| "guests": [ { "firstName": "Thomas" "lastName": "Hintz", "email": "Thomas.Hintz@yahoo.com" "phone": "260-975-4091" "address": "3946 Freddy Locks" "age":32, "gender":"Male" "birthday":"1990-01-01" "type":"Adult" "index":1, "extensions": { "loyaltyProgram":"XX" "loyaltyAccountId": "123456789" } |
| ID_Card CERT_CARD_TYPE CERT_CARD_NUMBER | Used by Distributor to pass the guest's citizen ID information in the Reservations to the Supplier. | "guests": [ { "firstName": "Thomas", "lastName": "Hintz", "extensions": { "ID_CARD" : "ABCD1234" } "email": "Thomas.Hintz@yahoo.com", "phone": "260-975-4091", "address": "3946 Freddy Locks", "age": 32, "gender": "Male", "birthday": "1990-01-01", "type": "Adult", "index": 1 } |
Did you find it helpful? Yes No
Send feedback