Duffel.SeatMaps (Duffel v0.1.0)

Copy Markdown View Source

Retrieve seat maps for an offer to build a seat selection UI.

One seat map is returned per segment. Not paginated.

See the Duffel documentation.

Summary

Functions

Lists the seat maps for an offer.

Functions

list(client, params)

@spec list(Duffel.Client.t(), keyword() | map()) ::
  {:ok, [map()]} | {:error, Duffel.Error.t()}

Lists the seat maps for an offer.

Parameters

  • :offer_id - the offer to fetch seat maps for (required)

Examples

Duffel.SeatMaps.list(client, offer_id: "off_123")