Hi Alex,
I have already used the code in the link you've sent, like this to make a test:
$user = $userClass->getOneByid('1025');
$userSubscriptions = $userClass->getUserSubscriptionById('1025');
If I print the variables, this is what I get:
$user
stdClass Object
(
[id] => 1025
[name] => name of the user
[email] => mail of the user
[creation_date] => 2020-04-08 09:41:47
[active] => 1
[cms_id] => 0
[source] =>
[confirmed] => 1
[key] => 4HvH2P4BkuPyc7
[automation] =>
[confirmation_date] =>
[confirmation_ip] =>
)
$userSubscriptions
Array
(
[3] => stdClass Object
(
[id] => 3
[name] => nome lista
[color] => #ff9800
[active] => 1
[visible] => 1
[status] => 1
[subscription_date] => 2020-04-08 09:41:47
[unsubscribe_date] =>
)
)
What I need too are all the custom fileds related to that user.
Thank you
Andrea