---
title: "Update Affiliate Tier"
method: PUT
path: "/networks/affiliatetiers/{affiliateTierId}"
tags: ["Affiliate Tiers"]
---

# Update Affiliate Tier

`PUT /networks/affiliatetiers/{affiliateTierId}`

## Request

- Base URL: `https://api.eflow.team/v1`
- URL: `https://api.eflow.team/v1/networks/affiliatetiers/{affiliateTierId}`
- Auth: API key in header `X-Eflow-Api-Key`
- TypeScript: <https://skmtc.dev/everflow/apis/everflow-network-api-tracking-domains/docs/networks/affiliatetiers/:affiliateTierId/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `affiliateTierId` integer, required

## Request body

- object
  - `name` string, required: The name of the affiliate tier.
  - `status` 'active' | 'paused' | 'deleted', required: Status of the affiliate tier. Can be one of the following values - active, paused or deleted.
  - `description` string: Optional description of the affiliate tier.
  - `network_affiliate_ids` integer[], nullable: IDs of the affiliates to assign to this tier.
  - `payout_margin` number, required: The payout margin percentage applied to affiliates in this tier.
  - `is_default_tier` boolean, required: Whether or not the affiliate tier will be automatically tied to all new partners.
  - `labels` string[]: List of labels to associate with the affiliate tier.

## Response `200`

- AffiliateTier
  - `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` 'active' | 'paused' | 'deleted': Status of the affiliate tier. Can be one of the following values - active, paused or deleted.
  - `description` string: Optional description of the affiliate tier.
  - `network_affiliate_ids` integer[], nullable: 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.
  - `time_saved` integer: Unix timestamp of last update.
  - `relationship` object: Related data for this affiliate tier. Populate by passing the `relationship` query parameter (e.g. `?relationship=all`).
    - `labels` object: Labels associated with the affiliate tier.
      - `total` integer: Total number of labels.
      - `entries` string[], nullable: List of label strings.
    - `affiliates` object: Affiliates assigned to this tier. Included when using `relationship=all`.
      - `total` integer: Total number of affiliates in this tier.
      - `entries` object[], nullable: List of affiliate objects.

## Other responses

- `404`: Affiliate tier not found.

---

[API](https://skmtc.dev/everflow/apis/everflow-network-api-tracking-domains.md) - [All operations](https://skmtc.dev/everflow/apis/everflow-network-api-tracking-domains/llms.txt) - [OpenAPI document](https://skmtc.dev/everflow/apis/everflow-network-api-tracking-domains/revisions/39242cee0e32?raw)
