2026-11-30 — derivedDiscountPercent is the percent off, a positive number
RoomAvailabilityResultType.derivedDiscountPercent from searchAvailability
now reads as the percent off
(#9239 ). The schema does
not change.
Changed — the sign of derivedDiscountPercent
- A Cloudbeds plan stores its discount as a negative offset, for example
-15. Before this release the field passed that value through unchanged, so a client that shows the percent only when it is above 0 never showed it. - The field now reports
15for that plan, which means 15% off. A client that already shows a positive value needs no change. - An offset of
-100or below, or a positive offset (a markup), reportsnull: state the tier, not a number. The tier card’s percent follows the same rule
Last updated on