[{"command":"insert","method":"html","selector":"#api-documentation-page__content","data":"\u003Carticle data-history-node-id=\u00228931\u0022 role=\u0022article\u0022 about=\u0022\/b2c-flow\u0022 class=\u0022view--product-catalog help-documentation full\u0022\u003E\n\n \n\n \n \u003Ch2\u003E\n \n\u003Cspan\u003EB2C Flow\u003C\/span\u003E\n\n \u003C\/h2\u003E\n \n\n \n \u003Cdiv class=\u0022content\u0022\u003E\n \n \u003Cdiv class=\u0022field field--body field--label-hidden field__item\u0022\u003E\u003Cimg alt=\u0022B2C Revenue flow diagram\u0022 data-entity-type=\u0022file\u0022 data-entity-uuid=\u0022f29039be-a611-4c3d-822a-477fdf2d63ea\u0022 src=\u0022\/sites\/default\/files\/inline-images\/Revenue%20Flow%20%28B2C%29.jpg\u0022 class=\u0022align-center\u0022 width=\u0022730\u0022 height=\u0022294\u0022 loading=\u0022lazy\u0022 \/\u003E\u003Cp\u003EDigital Connect gives the airlines an ability to present offers to passengers, who can choose among the listed offers for itinerary, fill in the passenger details, select ancillaries, seats, and order the purchased items.\u00a0\u003C\/p\u003E\n\n\u003Cp\u003E\u202f\u00a0\u003C\/p\u003E\n\n\u003Cp\u003E\u003Cstrong\u003EUsing the Digital Connect\u202fService Suite - Shopping\u003C\/strong\u003E\u00a0\u003C\/p\u003E\n\n\u003Cp\u003ETo make use of the services and book flights (simple booking scenario), use the services in the following order:\u00a0\u003C\/p\u003E\n\n\u003Cp\u003E\u003Cstrong\u003ESearch Flight (Required)\u003C\/strong\u003E\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EThis API empowers the airline to help passengers book Flights based on their criteria like origin, destination, dates, Type of Journey (OneWay, RoundTrip, MultiCiti), number of passengers and type of passengers and providing support for any promotional codes.\u00a0\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EThe API responds with list of flights matching the search criteria having flight\/itinerary details and price information (Base, Taxes, Total) and each flight is referenced with ShoppingBasketHashCode.\u00a0\u003C\/p\u003E\n\n\u003Cp\u003E\u003Cstrong\u003ESelect Flight (Required)\u003C\/strong\u003E\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EOnce the passenger selects the flight, the API will assist the airline to add the selected flight\/flights to the cart\/session for All Journey types - OneWay, RoundTrip, MultiCity.\u00a0Airline inputs flight Offers using the reference (shopping basket hash code) from Search Flight Response.\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EThe API responds with selected flight details confirming the flight selected.\u00a0\u003C\/p\u003E\n\n\u003Cp\u003E\u003Cstrong\u003EAdd Passenger Details (Required)\u003C\/strong\u003E\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EThis API allows passengers\u00a0to add passenger details like Name details (Prefix, First Name, Last Name, Middle Name, Suffix), Contact Details (Email, Phone, Address), Preferences ( Meals, Seats, Special Service Requests), Add Frequent Flier and Other passenger information (e.g. Passport, Visa, National ID).\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EThe API response will confirm all the passenger details to the session.\u00a0\u003C\/p\u003E\n\n\u003Cul\u003E\u003Cli\u003E\n\t\u003Cp\u003ESubmit a POST \/passengers request to add passengers to an itinerary. You can also use POST to update, by submitting all of the passenger data including the updated fields, and to delete passengers from the itinerary, by submitting all of the passenger data, including blank fields for the deleted passengers.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\t\u003Cli\u003E\n\t\u003Cp\u003ESubmit a GET \/passengers request to display the current passenger data for the itinerary.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\u003C\/ul\u003E\u003Cp\u003E\u003Cstrong\u003EAdd Ancillaries (Optional)\u003C\/strong\u003E\u003C\/p\u003E\n\n\u003Cp\u003EAfter an itinerary and passenger details have been stored in the session, use\u202f\/products\/ancillaries\u202foperations to show passengers the ancillaries available on the flights they have selected and to add any ancillaries selected by the passenger to the itinerary.\u00a0\u202f\u00a0\u003C\/p\u003E\n\n\u003Cul\u003E\u003Cli\u003E\n\t\u003Cp\u003ESubmit a GET \/products\/ancillaries request to obtain a list of ancillaries available for the flights in the itinerary, based on the information available in the session \/products\/ancillaries will display these ancillaries to the passenger for selection.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\t\u003Cli\u003E\n\t\u003Cp\u003EThe GET \/products\/ancillaries response returns with list of ancillaries available for the itinerary and applicable passengers with pricing information.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\t\u003Cli\u003E\n\t\u003Cp\u003ESubmit a POST \/products\/ancillaries request to add ancillaries to the itinerary. You can also use POST to update, by submitting all of the ancillary data including the updated fields, and to delete ancillaries from the itinerary, by submitting all of the ancillary data, including blank fields for the deleted ancillaries.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\u003C\/ul\u003E\u003Cul\u003E\u003Cli\u003E\n\t\u003Cp\u003EThe POST \/products\/ancillaries response returns with list of ancillaries added to the session with ancillary, passenger and segment details.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\u003C\/ul\u003E\u003Cp\u003E\u003Cstrong\u003EAdd Seats (Optional)\u00a0\u003C\/strong\u003E\u003C\/p\u003E\n\n\u003Cp\u003EAfter adding all the offers to the session, use\u202f\/products\/seats\u202foperations to show passengers the seats available on the flights,\u202f based on the information available in the session \/products\/seats will expose seat maps and add any available seat selected by the passenger.\u00a0\u202f\u00a0\u003C\/p\u003E\n\n\u003Cul\u003E\u003Cli\u003E\n\t\u003Cp\u003ESubmit a GET \/products\/seats request to the information used to construct seat maps for the flights in the itinerary. The seat information will indicate available seats and reserved seats, free seats and paid seats, and so on. Use this information to format a seat map for display to the passenger for selection.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\t\u003Cli\u003E\n\t\u003Cp\u003EThe GET \/products\/ancillaries response returns with list of seat maps based on the passengers in the sessions for the itinerary and applicable passengers with pricing information and seat characteristics, limitations, facilities, seat number, location, and more.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\t\u003Cli\u003E\n\t\u003Cp\u003ESubmit a POST \/products\/seats request to add seats to the itinerary. You can also use POST to update, by submitting all of the seat data including the updated fields, and to delete seats from the itinerary, by submitting all of the seat data, including blank fields for the deleted seats.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\t\u003Cli\u003E\n\t\u003Cp\u003EThe POST \/products\/seats response will confirm the seat status with segment and passenger details.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\u003C\/ul\u003E\u003Cp\u003E\u003Cstrong\u003EShopping Cart (Optional)\u003C\/strong\u003E\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EAt any time after an itinerary has been stored in the session, use a\u202fGET \/products operation to obtain a current list of products that the passenger has added to the session\/itinerary along with their prices. Use this information to build and display a shopping cart.\u003C\/p\u003E\n\n\u003Cp\u003EThe GET \/products service responds with itinerary information, passenger details, total amount for products selected by the passenger, and price information of each product with price breakdown (Base, Taxes, Total, Surcharge-if any applicable).\u00a0\u003C\/p\u003E\n\n\u003Cp\u003E\u003Cstrong\u003EPayment Options (required)\u003C\/strong\u003E\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EAfter the passenger has completed building the itinerary in the session, including ancillaries and seats use\u202f\/paymentOptions\u202fto retrieve available FOPs .\u00a0\u003C\/p\u003E\n\n\u003Cul\u003E\u003Cli\u003E\n\t\u003Cp\u003ESubmit a GET \/paymentOptions request to obtain a list of available forms of payment (FOP) and amounts (surcharges included). You can display these forms of payment to the passenger for selection.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\t\u003Cli\u003E\n\t\u003Cp\u003EThe GET \/paymentOptions will respond with all the available Forms Of Payments (Credit Cards\/Debit Cards, Additional Forms of Payments, installments and more, Also information with surcharges and Combinational Forms of payment if the passenger wants to pay with 2 Forms of payments.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\t\u003Cli\u003E\n\t\u003Cp\u003ESubmit a POST \/paymentOptions request to send FOP code with amount to get in the response a list with all combinable forms of payment with amount (residual amount).\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\u003C\/ul\u003E\u003Cul\u003E\u003Cli\u003E\n\t\u003Cp\u003EThe POST \/paymentOptions responds with Additional Options for the selected payment method, Example if a credit card is availed with installment options with installment plan details.\u00a0\u003C\/p\u003E\n\t\u003C\/li\u003E\n\u003C\/ul\u003E\u003Cp\u003E\u003Cstrong\u003EPurchase (Required)\u003C\/strong\u003E\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EAfter the passenger has completed building the itinerary in the session, including ancillaries and seats, collect payment data from the passenger and submit using the\u202f\/purchase\u202frequest.\u00a0\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EThe \/purchase request will submit billing data to the FOPs supplied by the passenger and, if payment is authorized,\u202f then purchase service creates a PNR adding details during the session.\u00a0\u003C\/p\u003E\n\n\u003Cp\u003EThe POST \/purchase response contains details of the PNR.\u00a0\u003C\/p\u003E\n\n\u003Cp\u003E\u00a0\u003C\/p\u003E\n\n\u003Ch2\u003E\u00a0\u003C\/h2\u003E\u003C\/div\u003E\n \n \u003C\/div\u003E\n\n\u003C\/article\u003E\n","settings":null}]