UnionInternationalCheminsdeFer / OSDM

Projects related to an open sales & distribution API for public transportation.
https://osdm.io
Apache License 2.0
61 stars 22 forks source link

How to handle a post/booking when the rpice of the offer changed after offer response was sent ? #739

Open TOP-PHE opened 1 week ago

TOP-PHE commented 1 week ago

What is the way to manage a booking request for an offer when the price changed in the inventory . We reviewed this use case in OTST to see how to implement validation scenario and we need some guidance from the expert team. We foresee 2 possible business logic

1) The railway want to secure the sale : He send a response with a booked offer using the new price for the offer associated with a warning information telling that the rpice changed... We could not identify what warning code etc...

2) The railway send an error message saying the offer is not available anymore, and the customer shoudl restart his offer sales process....

jspetrak commented 3 hours ago

Odile will check NDC - airline can decide if accept. In GDS it denies the booking and new offer request must be made.

Sqills makes warning and preliminary books different price.