Documentation page has no example of adding contact to account, so I have some problems with it.
I am trying API call:
'action' => 'addcontact',
'clientid' => $clientId,
'firstname' => $customer['FirstName'],
'lastname' => $customer['LastName'],
'email' => $customer['Email'],
'password2' => $customer['Password'],
'supportemails' => true,
'productemails' => true,
'domainemails' => true,
'permissions' => 'manageproducts,domains,managedomains,tickets',
Contact is added, but permissions are set as on screenshot. What am I doing wrong?