Method: update_user_meta
It needs ‘cookie’ and ‘meta_key’ var and ‘meta_value’ to update. You may send multiple values separated by comma.
https://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&meta_key=KEY-HERE&meta_value=VALUE-HERE
https://localhost/api/user/update_user_meta/?cookie=COOKIE-HERE&&meta_key=KEY-HERE&meta_value=value1,value2,value3
Method: update_user_meta_vars
It needs ‘cookie’ and any user meta variables. This endpoint allows you cut http requests if you have to add/update more than one user_meta field at a time.
https://localhost/api/user/update_user_meta_vars/?cookie=COOKIE-HERE&website=user-website.com&city=Chicago&country=USA&skills=php,css,js,web design
in the above call, website, city, country and skills are meta_key for WordPress user_meta. It is different from BuddyPress xProfile fields.
Please make sure you provide ending comma for all those fields which have multiple values. e.g. If ‘skills’ field has multiple values, pass them like https://localhost/api/user/update_user_meta_vars/?cookie=COOKIE-HERE&skills=PHP,MySQL, or &skills=PHP, make sure you always pass ending comma for multi-select fields to be added in array format.
Please see Notes for all documentation here https://www.ads-software.com/plugins/json-api-user/other_notes/