plesk/api-php-lib

Create Customer: howto set anything else than gen-info ?

michabbb opened this issue · 1 comments

when looking to the code

the api has much more than "gen-info", how shall that work with this code ???

Everything is ok here. customer > add operation has only "gen_info" as a child node.
There are some other cases. E.g. webspace > add has a problem that you mentioned.
One need to understand that the library is under development and in alpha stage.

You can always you the fallback ways for complicated scenarios.
See https://github.com/plesk/api-php-lib/blob/master/tests/ApiClientTest.php#L93