Skip to main content
POST
/
networks
/
patch
/
advertiser
/
submit
Advertiser Bulk Edit Preview
curl --request POST \
  --url https://api.eflow.team/v1/networks/patch/advertiser/submit \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "network_advertiser_ids": [
    13
  ],
  "fields": [
    {
      "field_type": "advertiser_status",
      "field_value": "active",
      "operator": "overwrite"
    }
  ]
}
'
{
  "changes": [
    {
      "network_advertiser": {
        "network_advertiser_id": 123,
        "network_id": 123,
        "name": "<string>",
        "account_status": "active"
      },
      "change_status": "ok",
      "current_field": {
        "field_type": "<string>",
        "field_value": "<unknown>",
        "operator": "<string>"
      },
      "changed_field": {
        "field_type": "<string>",
        "field_value": "<unknown>",
        "operator": "<string>"
      },
      "error_message": "<string>",
      "related_changes": "<string>"
    }
  ],
  "resource_errors": [
    {
      "resource_id": 123,
      "error_message": "<string>"
    }
  ]
}
Preview the result of applying bulk changes to one or more advertisers without actually persisting them. This is a dry-run endpoint that returns what each advertiser’s field would change to, any validation errors, and the current value of each field. Use this to validate changes before calling the apply endpoint. The response includes a changes array showing the before/after for each advertiser, and a resource_errors array for any IDs that could not be processed. Each field to change requires a field_type, a field_value (whose type depends on the field), and an operator that controls how the value is applied.

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Body

application/json
network_advertiser_ids
integer[]
required

Array of advertiser IDs to preview changes for.

fields
object[]
required

Array of field changes to preview. Each item specifies a field type, the new value, and how to apply it.

Response

200 - application/json
changes
object[]

Array of change previews, one per advertiser. Shows what would change if the patch were applied.

resource_errors
object[]

Errors for advertiser IDs that could not be processed (e.g., invalid ID, insufficient permissions).