SegmentFolders
Update dynamic segments
Changed onUpdates a dynamic segment
put/channel/v1/segments/dynamicSegments/{dynamicSegmentId}
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
dynamicSegmentIdstring required
Segment ID
Request body
Example request
{
"name": "Canada",
"code": "XXYU",
"filters": [
[
{
"conditions": [
{
"parameter": "company.state",
"operator": "matches",
"values": [
"Quebec"
]
},
{
"parameter": "company.city",
"operator": "matches",
"values": [
"Montreal"
]
}
]
},
{
"conditions": [
{
"parameter": "company.state",
"operator": "matches",
"values": [
"Quebec"
]
},
{
"parameter": "company.city",
"operator": "matches",
"values": [
"Montreal"
]
}
]
}
]
]
}Response
The segment was successfully updated.
Changes
- info
endpoint added
- info