Skip to main content
PATCH
/
networks
/
pending
/
affiliates
Process Pending Affiliates
curl --request PATCH \
  --url https://api.eflow.team/v1/networks/pending/affiliates \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "network_affiliate_ids": [
    7
  ],
  "account_status": "active",
  "affiliate_manager_id": 1,
  "internal_notes": "Approved via API"
}
'
{
  "result": true
}
Process pending affiliate applications. Allows approving or rejecting affiliates that have submitted signup applications and are awaiting review.

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.

An affiliate ID to process.

account_status
enum<string>
required

New account status.

Available options:
active,
inactive,
pending,
suspended
affiliate_manager_id
integer

ID of the affiliate manager to assign.

internal_notes
string

Internal notes about the status change.

network_affiliate_tier_id
integer

Affiliate tier ID to assign.

network_traffic_source_id
integer

Traffic source ID to assign.

Response

200 - application/json

Pending affiliates processed successfully.

result
boolean

Whether the pending affiliates were processed successfully.