Skip to main content
POST
/
networks
/
affiliatetiers
Create Affiliate Tier
curl --request POST \
  --url https://api.eflow.team/v1/networks/affiliatetiers \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "name": "Gold Partners",
  "status": "active",
  "description": "Top-performing affiliates",
  "payout_margin": 10,
  "is_default_tier": false,
  "network_affiliate_ids": []
}
'
{
  "network_affiliate_tier_id": 123,
  "network_id": 123,
  "name": "<string>",
  "status": "active",
  "description": "<string>",
  "network_affiliate_ids": [
    123
  ],
  "payout_margin": 123,
  "is_default_tier": true
}

Authorizations

X-Eflow-Api-Key
string
header
required

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

Body

application/json
name
string
required

Tier name.

status
enum<string>
required

Tier status.

Available options:
active,
paused,
deleted
description
string

Description of the tier.

network_affiliate_ids
integer[]

Array of affiliate IDs assigned to this tier.

payout_margin
number<double>

Payout margin percentage applied to affiliates in this tier.

is_default_tier
boolean

Whether this is the default tier for new affiliates.

Response

200 - application/json

OK

network_affiliate_tier_id
integer

Unique affiliate tier ID.

network_id
integer

Network ID this tier belongs to.

name
string

Tier name.

status
enum<string>

Tier status.

Available options:
active,
paused,
deleted
description
string

Tier description.

network_affiliate_ids
integer[]

Affiliate IDs assigned to this tier.

payout_margin
number<double>

Payout margin percentage.

is_default_tier
boolean

Whether this is the default tier for new affiliates.