Skip to main content
GET
/
networks
/
affiliatetiers
/
{affiliateTierId}
Get Affiliate Tier
curl --request GET \
  --url https://api.eflow.team/v1/networks/affiliatetiers/{affiliateTierId} \
  --header 'X-Eflow-Api-Key: <api-key>'
{
  "network_affiliate_tier_id": 1,
  "network_id": 1,
  "name": "Updated Tier",
  "status": "active",
  "description": "Updated description",
  "network_affiliate_ids": null,
  "payout_margin": 25,
  "is_default_tier": true,
  "time_created": 1774620660,
  "time_saved": 1774620995,
  "relationship": {
    "labels": {
      "total": 1,
      "entries": [
        "updated-label"
      ]
    }
  }
}

Authorizations

X-Eflow-Api-Key
string
header
required

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

Path Parameters

affiliateTierId
integer
required

The ID of the affiliate tier you want to fetch.

Query Parameters

relationship
enum<string>

Include additional relationship data in the response. Use all to include all available relationships (e.g. labels).

Available options:
all

Response

network_affiliate_tier_id
integer

The unique ID of the affiliate tier.

network_id
integer

The ID of the network this tier belongs to.

name
string

The name of the affiliate tier.

status
enum<string>

Status of the affiliate tier. Can be one of the following values - active, paused or deleted.

Available options:
active,
paused,
deleted
description
string

Optional description of the affiliate tier.

network_affiliate_ids
integer[] | null

IDs of the affiliates assigned to this tier.

payout_margin
number

The affiliate's payout margin.

is_default_tier
boolean

Whether or not the affiliate tier will be automatically tied to all new partners.

time_created
integer

Unix timestamp of creation.

Example:

1734455015

time_saved
integer

Unix timestamp of last update.

Example:

1734455015

relationship
object

Related data for this affiliate tier. Populate by passing the relationship query parameter (e.g. ?relationship=all).