I managed to get one related field value from a M2A
but I need more than one field value, how can I achieve it?
for example consider this query string:
*.*,related_with.item:clients.user_id.*
with this I can get user_id fields but I need all the fields of clients and user_id for example. I tried many ways but I can only get one specific field and not more than one from the related collection.
for example, from clients, I need to return something like this:
{
"client_id" : 25,
"client_birthday": "2022-01-01",
"user_id": {
"first_name" : "Jorge",
"last_name" : "Perestrelo"
....
}
.....
}
thanks in advance