Make Api Return Custom Field In Cscart_Users

Hello!

How do I modify the Cs-Cart api to return a manually added column in the cscart_users table?

Cheers

Try to use hooks in the fn_get_users function (app/functions/fn.users.php) to add new field to the result of this function

What would a hook like that look like? Would adding a hook to return a new field also allow for me to sort using it?

What would a hook like that look like? Would adding a hook to return a new field also allow for me to sort using it?

Try to use get_users_post one

The API should return all columns in the rows of cscart_users_table. I don't see where it does any filtering of fields on either a GET request or a PUT request.