Skip to main content
PATCH
/
networks
/
patch
/
affiliates
/
apply
Apply Affiliate Bulk Edit
curl --request PATCH \
  --url https://api.eflow.team/v1/networks/patch/affiliates/apply \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "network_affiliate_ids": [
    7
  ],
  "fields": [
    {
      "field_type": "account_status",
      "field_value": "active",
      "operator": "overwrite"
    }
  ]
}
'
{
  "result": true
}
Apply bulk changes to one or more affiliates. This persists the changes permanently. Use the Bulk Edit Preview endpoint first to validate changes before applying them. Uses the same request format as the Bulk Edit Preview endpoint.

Authorizations

X-Eflow-Api-Key
string
header
required

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

Body

application/json

Input for bulk editing affiliates.

network_affiliate_ids
integer[]
required

IDs of the affiliates to be patched.

An affiliate ID to patch.

fields
object[]
required

List of fields to patch.

Response

200 - application/json

Changes applied successfully.

result
boolean

Whether the bulk edit was applied successfully.