MngSetAffiliatePassword¶
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 /affiliate using its email or affiliate code.