MngSetAffiliatePassword¶
New passwords must also satisfy the active platform policy. A rejection returns 400 PASSWORD_POLICY_VIOLATION with reason and password_policy; 503 SECURITY_GUARD_UNAVAILABLE means policy validation was unavailable. See Password Policy. Existing-password authentication remains unaffected.
Sets or replaces the affiliate cabinet password for one brand. The server stores only a protected password hash; neither the hash nor the password is returned by affiliate list methods.
{"command":"MngSetAffiliatePassword","extID":"1","data":{"affiliate_id":7,"brand":"default","password":"StrongPassword123","enabled":true}}
| Field | Type | Required | Description |
|---|---|---|---|
affiliate_id |
int | Yes | Existing affiliate with access to the brand |
brand |
string | Admin: yes | Effective brand scope |
password |
string | Yes | New password, 8–128 characters |
enabled |
bool | No | Enable cabinet access after rotation; defaults to true |
The affiliate may then sign in at /login on the brand's affiliate_host, using its
email or affiliate code.