Skip to main content
PATCH
/
networks
/
affiliates
/
pending
Process Pending Affiliates
curl --request PATCH \
  --url https://api.eflow.team/v1/networks/affiliates/pending \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "network_affiliate_ids": [
    10,
    11
  ],
  "action": "approve"
}
'

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 pending affiliate IDs to process.

action
enum<string>
required

The action to take on the pending affiliates.

Available options:
approve,
reject

Response

200

Pending affiliates processed successfully.