v1

latestOpenAPI 3.1.02026-07-2616636641.7 KB

Update Geo-Targeting

put/v1/flight/{FlightID}/geotargeting/{LocationID}

Path parameters

FlightIDinteger required

ID of the Flight

LocationIDinteger required

ID from the Geo-Targeting Endpoint

Request body

CountryCodestring

The 2-3 character string that denotes the country you want to target

Regionstring

The 2-3 character string that denotes the region (or state) that you want to target

MetroCodeinteger

The 3 digit number that denotes the metropolitan area you want to target. US only.

isExcludeboolean

If true, this will exclude the country from targeting. Defaults to false/null

Response

200

LocationIdinteger
FlightIdinteger
CountryCodestring
Regionstring
MetroCodeinteger
IsExcludeboolean

Example response

{
  "LocationId": 76543,
  "FlightId": 12345,
  "CountryCode": "US",
  "Region": "NC",
  "MetroCode": 560
}