Skip to main content

Vendor API 3.0 - Booking Retrieval Response Expanded and Booking Delivery Documentation Corrected

Previously, some values sent through booking delivery (POST /bookings) could not be read back through booking retrieval. With this change, every item in the delivery payload also appears in the retrieval response. In addition, three field types that were documented incorrectly for booking delivery have been corrected to match the actual behaviour.

Key Changes

1. Twelve Fields Added to the Booking Retrieval Response

GET /gds/vendor/booking/{vendor_booking_number}

FieldTypeRequiredDescription
channel_idnumberRequiredSales channel ID (e.g. 132)
channel_namestringRequiredSales channel name
channel_booking_numberstringOptionalSales channel booking number
gds_booking_numberstringRequiredONDA Hub booking number
gds_sub_booking_numberstringRequiredONDA Hub sub-booking number (one per room within a booking)
rateplan_idstringOptionalVendor rate plan ID. Omitted for bookings with no mapping
total_amountnumberRequiredChannel-side selling price. With postpayment, the amount collected on site
net_pricenumberRequiredDeposit amount (payable to the vendor)
payment_typeprepayment | postpaymentRequiredPayment type (prepaid / pay on arrival)
special_commentstringOptionalGuest requests
visit_typewalk | carOptionalArrival method. Present only when the channel supplies it
secondary_channelstringOptionalSecondary sales channel. Present only when the channel supplies it

When an optional field has no value, the key is omitted entirely rather than set to null. Check for the presence of the key when parsing the response.

Now that the response carries three amount fields, here is what each one means:

FieldBasis
amountVendor-side amount — the per-night amounts plus any extra charges
total_amountChannel-side selling price
net_priceDeposit amount (payable to the vendor)

2. Change to the type Field in the Booking Retrieval Response

When no value is present
Before"type": null
AfterThe key is omitted

This aligns the response with the booking delivery payload. No booking in production data lacks this value, so responses do not actually change — but if your parsing logic compares against null, please verify it.

3. Booking Delivery Documentation Corrected

The values being sent have not changed. The documentation did not match the actual behaviour and has been corrected. If you implemented against the documentation, please verify your code.

POST /bookings

FieldDocumentation (before)Actual = documentation (now)
channel_idstring, example 'NAVER'number, example 132
total_amountstring, example '100000'number, example 100000
channel_booking_numberRequiredOptional
  • channel_id and total_amount have always been sent as numbers. Only the documented examples were wrong.
  • channel_booking_number is now optional because the key can be absent when the sales channel does not supply its own booking number.

The total_amount in PUT /bookings/{vendor_booking_number}/modify carried the same documentation error and has also been corrected to number.

Contact

If you have any questions about API integration, please feel free to contact us: