---
title: "Apply Affiliate Bulk Edit"
method: PATCH
path: "/networks/patch/affiliates/apply"
tags: ["Affiliates"]
---

# Apply Affiliate Bulk Edit

`PATCH /networks/patch/affiliates/apply`

## Request body

- AffiliatePatchInput — Input for bulk editing affiliates.
  - `network_affiliate_ids` integer[], required — IDs of the affiliates to be patched.
  - `fields` object[], required — List of fields to patch.
    - `field_type` 'network_employee_id' | 'account_executive_id' | 'referrer_id' | 'labels' | 'affiliate_name' | 'account_status' | 'default_currency_id' | 'has_notifications' | 'enable_media_cost_tracking_links' | 'network_traffic_source_id' | 'internal_notes' | 'billing_payment_method' | 'billing_billing_frequency' | 'billing_weekly' | 'billing_bimonthly' | 'billing_monthly' | 'billing_two_months' | 'billing_quarterly' | 'billing_is_invoice_creation_auto' | 'billing_invoice_amount_threshold' | 'billing_auto_invoice_start_date' | 'billing_invoice_generation_days_delay' | 'billing_default_payment_terms' | 'billing_default_invoice_is_hidden' | 'referral_is_enabled' | 'referral_method' | 'referral_value' | 'referral_commission_basis' | 'referral_minimum_threshold' | 'referral_duration', required — Type of the field to patch. See Patchable Fields below for the full list of supported field types.
    - `field_value` unknown, required
    - `operator` 'overwrite' | 'append' | 'delete' | 'clear', required — Operator determining how the field will be used to modify the affiliates.

## Response `200`

Changes applied successfully.

- object
  - `result` boolean — Whether the bulk edit was applied successfully.

---

[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-service-production.skmtc.workers.dev/v1/apis/everflow/everflow-network-api-tracking-domains/revisions/39242cee0e32/schema)
