Added
Release of structured errors for offer refresh
5 days ago by George Popides
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
| Code | Explanation |
|---|---|
| OFFER_NOT_FOUND | The offer has expired or the id you have used does not exist |
| CANCELLATION_POLICY_CHANGED | The cancellation policies of the offer have changed. This can affect the price since the amount for a cancellation can change |
| PRICE_CHANGED | The price has changed |
| NO_AVAILABILITY | There is no availability anymore for the same unit, rate combination that we returned in our availability response |
| INTERNAL_SERVER_ERROR | The failure occurred within Katanox |