Added

Release of structured errors for offer refresh

Starting from today our retrieve offer and refresh offer will populate a new error_codes field similar to our booking endpoints

The errors will be populated when you try to refresh an offer and when you try to retrieve one. We suggest that you use the error code to handle the errors.

Below you can find the possible errors and their meanings

Failure codes and explanation

CodeExplanation
OFFER_NOT_FOUNDThe offer has expired or the id you have used does not exist
CANCELLATION_POLICY_CHANGEDThe cancellation policies of the offer have changed. This can affect the price since the amount for a cancellation can change
PRICE_CHANGEDThe price has changed
NO_AVAILABILITYThere is no availability anymore for the same unit, rate combination that we returned in our availability response
INTERNAL_SERVER_ERRORThe failure occurred within Katanox