v1

latestOpenAPI 3.1.02026-07-26374172.5 KB
Flights

Update an existing flight

patch/measurement/flights/{id}

Path parameters

idstring required
Example:0123456789abcdef

Request body

Example request

{
  "measurementFlight": {
    "startDate": "2024-03-01",
    "endDate": "2024-03-31"
  }
}

Response

OK

Example response

{
  "measurementFlight": {
    "id": 123,
    "startDate": "2024-03-01",
    "endDate": "2024-03-31",
    "expectedImpressions": 100,
    "cpm": 10,
    "uid": "qtr-1-flight-1",
    "ad": {
      "id": "0123456789abcdef",
      "name": "The Pod Show - Mid-Roll",
      "uid": "ad-123-456"
    }
  }
}