lists
Update segment
Update a specific segment in a list.
patch/3.0/lists/{list_id}/segments/{segment_id}
Request
- Base URLhttps://api.mailchimp.com
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://login.mailchimp.com/oauth2/authorizeToken URLhttps://login.mailchimp.com/oauth2/token
- TypeScripthttps://skmtc.dev/mailchimp/apis/mailchimp-api/docs/3.0/lists/:list_id/segments/:segment_id/patch.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
list_idstring required
The unique ID for the list.
segment_idstring required
The unique id for the segment.
Request body
Example request
{
"options": {
"conditions": [
{
"field": "aim",
"op": "open",
"value": "any"
}
]
}
}Response
Example response
{
"options": {
"conditions": [
{
"field": "aim",
"op": "open",
"value": "any"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.