Sign in

Update lists

documented

Update the settings for a specific list.

PATCH /lists/{list_id}Lists/Audiencesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$data_center}}.api.mailchimp.com/3.0/lists/{{$list_id}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"name": "{{$name}}", "contact": {"company": "{{$company}}", "address1": "{{$address1}}", "address2": "{{$address2}}", "city": "{{$city}}", "state": "{{$state}}", "zip": "{{$zip}}", "country": "{{$country}}"}, "permission_reminder": "{{$permission_reminder}}", "campaign_defaults": {"from_name": "{{$campaign_from_name}}", "from_email": "{{$campaign_from_email}}", "subject": "{{$campaign_subject}}", "language": "{{$campaign_language}}"}, "notify_on_subscribe": "{{$notify_on_subscribe}}", "notify_on_unsubscribe": "{{$notify_on_unsubscribe}}", "visibility": "{{$visibility}}", "double_optin": {{$double_optin}}, "use_archive_bar": {{$use_archive_bar}}, "marketing_permissions": {{$marketing_permissions}} }'"}