v1
latestOpenAPI 3.1.02026-07-2616636641.7 KBUpdate Flight Segment Targeting Rule
Update a Flight to Segment targeting rule
put/v1/flight/{FlightId}/segmenttargeting/{Id}
Path parameters
FlightIdinteger required
The flight the targeting rule applies to
SegmentTargetingIdinteger required
Id of the Flight Segment targeting rule
Request body
Response
200
Example response
{
"Id": 56789,
"FlightId": 55555,
"SegmentId": 123456,
"IsExclude": true,
"Segment": {
"Source": "audience",
"Name": "best customers",
"Reach": {
"all_time": 3187463,
"28d": 387434
},
"Description": "top 1% spenders in the last 30 days.",
"Category": "CRM"
}
}