Skip to main content
PATCH
/
networks
/
affiliates
/
patch
Bulk Edit Affiliates
curl --request PATCH \
  --url https://api.eflow.team/v1/networks/affiliates/patch \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "network_affiliate_ids": [
    1,
    2,
    3
  ],
  "account_status": "active",
  "network_employee_id": 5
}
'

Authorizations

X-Eflow-Api-Key
string
header
required

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

Body

application/json
network_affiliate_ids
integer[]
required

Array of affiliate IDs to update.

account_status
enum<string>

New account status to apply.

Available options:
active,
inactive,
suspended
network_employee_id
integer

New account manager ID to assign.

labels
string[]

Labels to assign.

network_affiliate_tier_id
integer

Tier ID to assign.

Response

200

Affiliates updated successfully.