MngSetAffiliateBrandAccess¶
Creates or updates the affiliate-to-brand relation.
{"command":"MngSetAffiliateBrandAccess","extID":"1","data":{"affiliate_id":7,"brand":"default","manager_id":42}}
| Field | Type | Required | Description |
|---|---|---|---|
affiliate_id |
int | Yes | Existing affiliate id |
brand |
string | Admin: yes | Effective brand scope |
default_campaign_id |
int | Deprecated | Accepted for compatibility and normalized to 0 |
manager_id |
int | No | Responsible CRM manager |
The current implementation writes an active relation (status = 0). Affiliate
and campaign are independent attribution dimensions and are combined only by a
marketing link.