List supported loyalty programmes for Duffel Stays.
Endpoints
GET /stays/loyalty_programmes- List all loyalty programmes
Examples
{:ok, response} = Travel.Stays.LoyaltyProgrammes.list()
Summary
Functions
@spec list() :: {:ok, Travel.Types.DuffelResponse.t()} | {:error, Travel.Error.t() | term()}
List all loyalty programmes supported by Duffel Stays.
Returns
{:ok, %Travel.Types.DuffelResponse{data: [%Types.StaysLoyaltyProgramme{}]}}on success{:error, %Travel.Error{}}on failure