price-metrics

GET itinerary price metric

Changed on
get/analytics/itinerary-price-metrics

Request

Query parameters

originIataCodestring required

airport code, following IATA standard, from which the traveler will depart

destinationIataCodestring required

airport code, following IATA standard, to which the traveler is going.

departureDatestring required

The date on which the traveler will depart from the origin to go to the destination.

Dates are specified in theISO 8601 YYYY-MM-DD format.

currencyCodestring

the preferred currency for display. Currency is specified in the ISO 4217 format, e.g. EUR for Euro

oneWayboolean

true to get price metrics for a one way trip, false to get price metrics for a round trip

Response

Successful reply

Example response

{
  "data": [
    {
      "origin": {
        "iataCode": "PAR"
      },
      "destination": {
        "iataCode": "PAR"
      }
    }
  ]
}

Changes

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the // response's property type changed from no type to object for status

    • breaking

      the // response's property type changed from no type to object for status

    • breaking

      the // response's property type changed from no type to object for status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • info

      media type application/json was changed to a more specific media type application/vnd.amadeus+json for the response status

    • info

      media type application/json was changed to a more specific media type application/vnd.amadeus+json for the response status

    • info

      media type application/json was changed to a more specific media type application/vnd.amadeus+json for the response status