Skip to main content
PUT
/
lists
/
{list_id}
/
update-subscriber-bulk
curl -X PUT https://api2.ecomailapp.cz/lists/1/update-subscriber-bulk \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subscriber_data": [
      {
        "email": "foo@bar.cz",
        "name": "Jan",
        "surname": "Novak",
        "custom_fields": { "shop": "myshop.cz" },
        "tags": ["vip"]
      },
      {
        "email": "foo2@bar.cz",
        "name": "Jana"
      }
    ],
    "allow_resubscribe": false
  }'
{
  "updates": 2
}

Documentation Index

Fetch the complete documentation index at: https://docs.ecomail.cz/llms.txt

Use this file to discover all available pages before exploring further.

list_id
integer
required
ID of the list.
subscriber_data
array
required
Array of subscriber objects to update. Limited to 3000 subscribers per call.
allow_resubscribe
boolean
default:"false"
Allow resubscribing previously unsubscribed contacts when status is set to 1.
Maximum of 3000 subscribers per call. Subscribers above the limit are silently ignored.
curl -X PUT https://api2.ecomailapp.cz/lists/1/update-subscriber-bulk \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subscriber_data": [
      {
        "email": "foo@bar.cz",
        "name": "Jan",
        "surname": "Novak",
        "custom_fields": { "shop": "myshop.cz" },
        "tags": ["vip"]
      },
      {
        "email": "foo2@bar.cz",
        "name": "Jana"
      }
    ],
    "allow_resubscribe": false
  }'
{
  "updates": 2
}