headers = "Authorization": f"Bearer token", "Aptra-API-Key": "YOUR_KEY", "Idempotency-Key": str(uuid.uuid4())
Before diving into code-level details, it is crucial to understand what Aptra Advance is—and what it is not.
To enable One Order, set header Aptra-NDC-Version: 21.3 . The response order structure changes significantly ( Order instead of Booking + TicketDoc ).