Fetch all rates for a search result.
Endpoint
POST /stays/search_results/{id}/actions/fetch_all_rates
Examples
{:ok, response} = Travel.Stays.SearchResults.fetch_all_rates("ser_123")
Summary
Functions
Fetch all rates for the given search result.
Functions
@spec fetch_all_rates(String.t()) :: {:ok, Travel.Types.DuffelResponse.t()} | {:error, Travel.Error.t() | term()}
Fetch all rates for the given search result.
Parameters
search_result_id- The ID of the search result
Returns
{:ok, %Travel.Types.DuffelResponse{data: %Types.StaysSearchResult{}}}on success{:error, %Travel.Error{}}on failure