Forum Discussion

Akenefick's avatar
Akenefick
Genius
2 years ago

Is it possible to add custom meta data field upon user creation with API V1

We had the custom field profile.country added to users. The following successfully creates a user but without the country field.

/restapi/vc/users/add?user.login=apicreated2&restapi.response_format=json&user.email=apicreated2@noemail.com&profile.country=england&user.new_password=passw0rd

I've tried several variations besides profile.country including profile.name.country and just country.

I've successfully added a country to an existing user with API V2 using c_country but our developers are already creating users with API V1 and would like to stick with that if possible.

Thanks