Manage travelers and travel documents for a customer
- Booking
- Customer account
- 5 routes
How can I manage travelers and travel documents for a customer account?
This scenario documents how to list travelers linked to a customer account, create new travelers, retrieve travel documents, update them, and resolve a customer when needed.
Overview
Use this scenario to manage the travelers linked to a customer account and keep their travel documents up to date. The flow combines traveler listing and creation, travel-document read-back, updates, and customer search when the right account must first be identified.
Prerequisites
- A valid
customer_idis required on traveler and travel-document routes. - Customer-scoped routes require
authorization, and all documented calls requireaccept-languageandx-api-key. - Customer search may be needed to resolve the correct account before document updates.
Process workflow
Legend:
Mandatory
Optional
1
List linked travelers
Mandatory
GET/v1/customers/{customer_id}/travelers
S2
Create a traveler
Mandatory
POST/v1/customers/{customer_id}/travelers
S3
Retrieve travel documents
Mandatory
GET/v1/customers/{customer_id}/travel_documents
S4
Update travel documents
Mandatory
PATCH/v1/customers/{customer_id}/travel_documents
S5
Resolve the customer account
Optional
GET/v1/customers
S