---
title: "Update Affiliate Tracking Domain"
method: PUT
path: "/networks/affiliates/{affiliateId}/trackingdomains"
tags: ["Tracking Domains"]
---

# Update Affiliate Tracking Domain

`PUT /networks/affiliates/{affiliateId}/trackingdomains`

## Path parameters

- `affiliateId` integer, required

## Request body

- object
  - `network_affiliate_id` integer, required — The affiliate ID.
  - `network_tracking_domain_id` integer, required — The tracking domain ID to assign.
  - `network_affiliate_tracking_domain_id` integer, required — The ID of the affiliate tracking domain assignment to update.
  - `is_apply_all_offers` boolean, required — Whether to apply this tracking domain to all offers.
  - `network_offer_id` integer, required — The offer ID to apply this tracking domain to.

## Response `200`

- AffiliateTrackingDomain
  - `network_affiliate_tracking_domain_id` integer — Unique affiliate tracking domain assignment ID.
  - `network_id` integer — Network ID.
  - `network_affiliate_id` integer — Affiliate ID.
  - `network_tracking_domain_id` integer — Tracking domain ID.
  - `is_apply_all_offers` boolean — Whether this tracking domain applies to all offers.
  - `network_offer_id` integer — The specific offer ID this domain is applied to.
  - `relationship` object — Related data for this affiliate tracking domain assignment. Includes affiliate, tracking domain, and optionally offer details.
    - `affiliate` object — Related affiliate details.
      - `network_affiliate_id` integer — The affiliate ID.
      - `network_id` integer — The network ID.
      - `name` string — The affiliate name.
      - `account_status` string — The affiliate account status.
      - `network_traffic_source_id` integer — The traffic source ID associated with the affiliate.
    - `tracking_domain` object — Related tracking domain details.
      - `network_tracking_domain_id` integer — The tracking domain ID.
      - `network_id` integer — The network ID.
      - `url` string — The tracking domain URL.
      - `is_primary_domain` boolean — Whether this is the primary tracking domain.
      - `domain_status` string — Domain status.
      - `is_unassignable` boolean — Whether the domain cannot be assigned to offers.
      - `ownership` string — Domain ownership information.
      - `is_ssl_enabled` boolean — Whether SSL is enabled for this domain.
      - `html_static_redirect` string — HTML static redirect content.
      - `url_redirect` string — URL redirect value.
      - `public_notes` string — Public-facing notes for this domain.
      - `time_created` integer — Unix timestamp of creation.
      - `time_saved` integer — Unix timestamp of last update.
    - `offer` object — Related offer details. Present when `is_apply_all_offers` is false.
      - `network_offer_id` integer — The offer ID.
      - `network_id` integer — The network ID.
      - `network_advertiser_id` integer — The advertiser ID that owns the offer.
      - `network_offer_group_id` integer — The offer group ID, 0 if not part of a group.
      - `name` string — The offer name.
      - `offer_status` string — The offer status.
      - `network_tracking_domain_id` integer — The tracking domain ID assigned to the offer.
      - `visibility` 'public' | 'private' | 'require_approval' — The offer visibility.
      - `currency_id` string — The offer currency.

---

[API](https://skmtc.net/everflow/apis/everflow-network-api-tracking-domains.md) · [All operations](https://skmtc.net/everflow/apis/everflow-network-api-tracking-domains/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/everflow/everflow-network-api-tracking-domains/versions/39242cee0e32/schema)
