API Reference travel v#0.2.0

Copy Markdown View Source

Modules

Duffel API client for flights and stays.

HTTP client for the Duffel API built on Req.

Represents an error response from the Duffel API.

Duffel Flights API namespace.

Create, retrieve, and list airline credits.

List, accept, and update airline-initiated changes.

Long-polling batch offer requests.

Create and retrieve offer requests for flight searches.

Get, list, update, and price flight offers.

Create, retrieve, list, and confirm order cancellations.

Get and list order change offers (PREVIEW).

Create and retrieve order change requests (PREVIEW).

Create, retrieve, and confirm order changes.

Create, retrieve, list, and manage flight orders.

Multi-step search partial offer requests.

Create, retrieve, and list payments for orders.

Get seat maps for flight offers.

Types for the Duffel Flights API.

Duffel Stays API namespace.

Get, list, suggest, and review accommodations.

Create booking payment instructions.

Create, retrieve, list, and cancel bookings.

List and get hotel brands.

List supported loyalty programmes for Duffel Stays.

Create, retrieve, list, update, and delete negotiated rates.

Create and retrieve quotes for stays.

Search for accommodations.

Fetch all rates for a search result.

Types for the Duffel Stays API.

Shared types used across the Travel API client.